florent on 10/21/11
Last Edited at 10/21/11 02:26am
function disable_self_ping( &$links ) { foreach ( $links as $l => $link ) if ( 0 === strpos( $link, get_option( 'home' ) ) ) unset($links[$l]); } add_action( 'pre_ping', 'disable_self_ping' );
Report this snippet Tweet
Comment:
You need to login to post a comment.