Created
June 30, 2023 13:17
-
-
Save xardit/a22ab878bfbbb687c217980a3c7ca6e0 to your computer and use it in GitHub Desktop.
WP Disable XMLRPC via functions
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 | |
// disable xmlrpc | |
add_filter( 'xmlrpc_enabled', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment