Created
June 12, 2025 23:51
-
-
Save chrisdavidmiles/d3401dbd2aedc21de24d3dc0b6126e43 to your computer and use it in GitHub Desktop.
WordPress Plugin: Disable XML-RPC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Disable XML-RPC | |
Description: Completely disables XML-RPC functionality in WordPress. | |
Version: 1.0 | |
Update URI: false | |
*/ | |
add_filter('xmlrpc_enabled', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment