do_all_pingbacks() WordPress Function
The do_all_pingbacks() function is used to ping back all URLs in a post. This is useful for notifying other websites that you have linked to them in your content.
do_all_pingbacks() #
Performs all pingbacks.
Source
File: wp-includes/comment.php
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 ); } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |