' . __( 'Github', 'no-self-ping' ) . '' ) ); $links = array_merge( $links, array( '' . __( 'Support', 'no-self-ping' ) . '' ) ); } return $links; } add_filter( 'plugin_row_meta', 'no_self_ping_plugin_meta', 10, 2 ); /** * Process Pings * * Before pinging the curated URLs, remove any that belong to this installation * * @since 0.1 */ function no_self_ping( &$links ) { $home = home_url(); foreach ( $links as $l => $link ) { if ( 0 === strpos( $link, $home ) ) { unset( $links[ $l ] ); } } } add_action( 'pre_ping', 'no_self_ping' );