BACK TO DIRECTORY

Remove XML-RPC Methods

by Walter Ebert

5.0
(3 ratings)

Removes all WordPress methods from the XML-RPC API to increase security. It does more than just using the xmlrpc_enabled hook, because that is only used “To disable XML-RPC methods that require authentication”.

Activating this plugin will also disable pingbacks, trackbacks, and Really Simple Discovery (RSD), because these rely on XML-RPC.

It works with any webserver, because it does not use the .htaccess file.

Testing the plugin

From the command line you can test if the plugin is working correctly using curl. Replace the example.com link to match your website:

curl -d '<?xml version="1.0"?><methodCall><methodName>system.listMethods</methodName><params><param><value><string/></value></param></params></methodCall>' https://example.com/xmlrpc.php

This should only return the following methods:
system.multicall
system.listMethods
system.getCapabilities

Plugin Details

Active Installs
1K+
Total Downloads
14,376
Version
1.4.2
Requires WP
4.6
Requires PHP
5.4.0
Tested Up To
7.1
Added
2020-02-10
Last Updated
2026-08-18 6:03pm GMT

Ratings

5
3
4
0
3
0
2
0
1
0