Prevent successful XML-RPC attacks

Open the file functions.php that is inside the theme folder that you use.

Add:

add_filter('xmlrpc_enabled', '__return_false');