// disable pingbacks add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['pingback.ping'] ); return $methods; } ); // Disable /users rest routes add_filter('rest_endpoints', function( $endpoints ) { if ( isset( $endpoints['/wp/v2/users'] ) ) { unset( $endpoints['/wp/v2/users'] ); } if ( isset( $endpoints['/wp/v2/users/(?P[\d]+)'] ) ) { unset( $endpoints['/wp/v2/users/(?P[\d]+)'] ); } return $endpoints; }); Bimu Nederland https://bimu.nl/ Vertegenwoordigd door Dixi Polytool Mon, 28 Feb 2022 15:47:50 +0000 nl hourly 1 https://wordpress.org/?v=6.1.5