do_all_pingbacks()  Performs all pingbacks.   Source  File: wp-includes/comment.php. View all references  function do_all_pingbacks() {
	$pings = get_posts(
		array(
			'post_type'        => get_post_types(),
			'suppress_filters' => false,
			'nopaging'         => true,
			'meta_key'         => '_pingme',
			'fields'           => 'ids',
		)
	);

	foreach ( $pings as $ping ) {
		delete_post_meta( $ping, '_pingme' );
		pingback( null, $ping );
	}
}
   Related  Uses    Uses Description      get_posts() wp-includes/post.php   Retrieves an array of the latest posts, or posts matching the given criteria.     delete_post_meta() wp-includes/post.php   Deletes a post meta field for the given post ID.     pingback() wp-includes/comment.php   Pings back the links found in a post.     get_post_types() wp-includes/post.php   Gets a list of all registered post type objects.   
    Changelog    Version Description     5.6.0 Introduced.    

    
{'path': 'public/docs/wordpress/functions/do_all_pingbacks.html', 'source': 'DevDocs.IO'}