Skip to content

Instantly share code, notes, and snippets.

@someguy9
Created March 17, 2020 12:46
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 someguy9/d0d9976fdb60f0d8c053a9c336d9d20c to your computer and use it in GitHub Desktop.
Save someguy9/d0d9976fdb60f0d8c053a9c336d9d20c to your computer and use it in GitHub Desktop.
Disable XML-RPC in WordPress
<?php
//Disable XML-RPC
add_filter('xmlrpc_enabled', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment