Disable XML-RPC
Completely disables the WordPress XML-RPC interface to reduce the attack surface.
PHPby SnipCraft
php
<?php
add_filter( 'xmlrpc_enabled', '__return_false' );#hardening#security#xml-rpc
SNIPC25OFFends July 31Get the dealCompletely disables the WordPress XML-RPC interface to reduce the attack surface.
<?php
add_filter( 'xmlrpc_enabled', '__return_false' );