// end of file add_filter('xmlrpc_enabled', '__return_false');
add_filter( ‘xmlrpc_methods’, function( $methods ) { unset( $methods['pingback.ping'] ); return $methods; } );