Skip to content

Instantly share code, notes, and snippets.

Created Jan 20, 2016
What would you like to do?
/* Die XMLRPC-Schnittstelle komplett abschalten */
add_filter( 'xmlrpc_enabled', '__return_false' );
/* Den HTTP-Header vom XMLRPC-Eintrag bereinigen */
add_filter( 'wp_headers', 'AH_remove_x_pingback' );
function AH_remove_x_pingback( $headers )
unset( $headers['X-Pingback'] );
return $headers;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment