Skip to content

Instantly share code, notes, and snippets.

@AnadarProSvcs
Created January 30, 2024 14:28
Show Gist options
  • Save AnadarProSvcs/b9c032c563f2e2a5408a3cd4f013f9a6 to your computer and use it in GitHub Desktop.
Save AnadarProSvcs/b9c032c563f2e2a5408a3cd4f013f9a6 to your computer and use it in GitHub Desktop.
Disable XML-RPC in #WordPress
add_filter( 'xmlrpc_enabled', '__return_false' );
//Can be used as a route to being hacked, so if not needed, best to turn off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment