Hi Basanta,
Thanks for the reply. I tried the script given on the link but there was an error that states like this:
function no_self_ping( &$links ) {
$home = get_option( ‘home’ );
foreach ( $links as $1 => $link )
if (0 === strpos( $link, $home ) )
unset($links[$1]);
}
add_action( ‘pre_ping’, ‘no_self_ping’ );
Your PHP code changes were rolled back due to an error on line 242 of file wp-content/themes/x/functions.php. Please fix and try saving again.
syntax error, unexpected ‘1’ (T_LNUMBER), expecting variable (T_VARIABLE) or ‘{’ or ‘$’
Could you please help me with the error here? I’m no programmer.