Skip to content

Instantly share code, notes, and snippets.

@roceys
Forked from Latz/disablexmlrpc
Created January 24, 2013 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roceys/4622087 to your computer and use it in GitHub Desktop.
Save roceys/4622087 to your computer and use it in GitHub Desktop.
<?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