Last active
November 18, 2017 09:19
-
-
Save misterebs/09f5f3a767c693d2415c0b74b6256347 to your computer and use it in GitHub Desktop.
This file contains 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
//Disable PingBack | |
add_filter( 'xmlrpc_methods', 'so_remove_ping' ); | |
function so_remove_ping( $methods ) { | |
unset( $methods['pingback.ping'] ); | |
unset( $methods['pingback.extensions.getPingbacks'] ); | |
return $methods; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment