Home / Most Popular / Disable XML-RPC
Duplicate Snippet

Embed Snippet on Your Site

Disable XML-RPC

On sites running WordPress 3.5+, disable XML-RPC completely.

19k
Code Preview
php
<?php
add_filter( 'xmlrpc_enabled', '__return_false' );

Comments

Add a Comment