将以下代码插入到functions.php文件中即可
add_filter("xmlrpc_enabled", "__return_false");
add_filter("xmlrpc_methods", function ($methods) {
unset($methods["pingback.ping"]);
return $methods;
});
共找到相关结果约1个
将以下代码插入到functions.php文件中即可
add_filter("xmlrpc_enabled", "__return_false");
add_filter("xmlrpc_methods", function ($methods) {
unset($methods["pingback.ping"]);
return $methods;
});