What is XML-RPC in WordPress?
Do I need XML-RPC functionality?
I believe no. XML-RPC by default a target method to attack your site and it’s one of the security liability.
On Crunchify we have disabled XML-RPC.
How to disable XML-RPC in WordPress?
There are two ways you could disable it?
Add below filter to your theme’s functions.php file and it will be disabled.
add_filter( 'xmlrpc_enabled', '__return_false' );
- Download plugin All-in-One Optimizer and Customer.
- Enable option Disable XML-RPC option from
Hope this helps.
Get All-in-One Optimizer & Customizer
A premium WordPress plugin which provides more than 50 options for you to customizer and optimize WordPress blog.
15% Discount link for Crunchify Readers.