Skip to content

Instantly share code, notes, and snippets.

@isaumya
Created September 16, 2016 08:32
Show Gist options
  • Save isaumya/1696e98bb1d2584602b261e7d8cc4247 to your computer and use it in GitHub Desktop.
Save isaumya/1696e98bb1d2584602b261e7d8cc4247 to your computer and use it in GitHub Desktop.
Disable WordPress XMLRPC.php without affecting Jetpack Plugin
<?php
add_filter( 'xmlrpc_enabled', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment