Как Сагар, связать его в своем ответе, вы можете сделать это с кодом:
<?php
add_filter('wp_headers', function($headers, $wp_query){
if(isset($headers['X-Pingback'])){
unset($headers['X-Pingback']);
}
return $headers;
}, 11, 2);
add_filter('pre_option_enable_xmlrpc', function($state){
return '0';
});
add_action('wp', function(){
remove_action('wp_head', 'rsd_link');
}, 9);
add_filter('bloginfo_url', function($output, $property){
return ($property == 'pingback_url') ? null : $output;
}, 11, 2);
add_action('xmlrpc_call', function($method){
if($method != 'pingback.ping') return;
wp_die(
'Pingback functionality is disabled on this Blog.',
'Pingback Disabled!',
array('response' => 403)
);
});
?>
Положи в файле function.php.
Или вы можете сделать это с помощью a simple plugin, если вы не хотите указывать код.