add_ping

add_ping

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('add_ping') is found 1 times:

  • /wp-includes/post.php line 5827
    	 * @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;
    }