Created
September 23, 2022 13:56
-
-
Save kbcarte/875020ae2a3c3e37edd0dea1f1f52a51 to your computer and use it in GitHub Desktop.
WordPress filter to remove XML-RPC functionality, add this to functions.php
This file contains hidden or 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 | |
add_filter( ‘xmlrpc_enabled’, ’_return_false’ ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment