Created
March 11, 2019 12:55
-
-
Save WordPress-Handbuch/656c5b78151b0bc231fe405081070939 to your computer and use it in GitHub Desktop.
Removes WordPress 5 RPC service itself and the <link> from the HTML header
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
add_filter( 'xmlrpc_enabled', '__return_false' ); | |
remove_action('wp_head', 'rsd_link'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment