Horje
How to Remove pings to your own blog

Method-1: Remove pings to your own blog

Just copy and paste following codes to yourdomain.com/wp-content/themes/activated-theme/fucntions.php in the most below.
Example: PHP
// Remove pings to self
function no_self_ping( &$links ) {
    $home = get_option( 'home' );
    foreach ( $links as $l => $link )
        if ( 0 === strpos( $link, $home ) )
            unset($links[$l]);
}
add_action( 'pre_ping', 'no_self_ping' );





Related Articles
How to Remove the WordPress Version Info for Security Wordpress Security Shortcode
How to Add Spam and Delete Links to Comments on Front End Wordpress Security Shortcode
How to Remove pings to your own blog Wordpress Security Shortcode
How to Enable GZIP output compression Wordpress Security Shortcode

Single Articles
Method-1: Remove pings to your own blogWordpress Security Shortcode

Read Full:
Wordpress Security Shortcode
Category:
Web Tutorial
Sub Category:
Wordpress Security Shortcode
Uploaded by:
Admin
Views:
76