-
-
Save frenchi/9908072 to your computer and use it in GitHub Desktop.
This file contains 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 XMLRPC | |
* Version: 0.1 | |
* Plugin URI: http://wpengineer.com/?p=2484 | |
* Description: Disable XMLRPC server for WP >= v3.5 | |
* Author: Lutz Schröer | |
* Author URI: http://elektroelch.net/ | |
*/ | |
add_filter('xmlrpc_enabled', '__return_false'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment