Disable XML-RPC

Disable XML-RPC

In the functions.php file add this:
add_filter('xmlrpc_enabled', '__return_false');

No XMLRPC, no problem. One less door for brute force attacks. 🚪❌