add_ping

add_ping

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('add_ping') is found 1 times:

  • /wp-includes/post.php line 5827
    5823
    5824
    5825
    5826
    5827
    5828
    5829
    5830
    5831
    5832
         * @since 2.0.0
         *
         * @param string $new New ping URL to add.
         */
        $new = apply_filters( 'add_ping', $new );
     
        $return = $wpdb->update( $wpdb->posts, array( 'pinged' => $new ), array( 'ID' => $post->ID ) );
        clean_post_cache( $post->ID );
        return $return;
    }