Title: do_all_pings
Published: April 25, 2014
Last modified: February 24, 2026

---

# do_all_pings()

## In this article

 * [Source](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#source)
 * [Hooks](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#hooks)
 * [Related](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#wp--skip-link--target)

Performs all pingbacks, enclosures, trackbacks, and sends to pingback services.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#source)󠁿

    ```php
    function do_all_pings() {
    	/**
    	 * Fires immediately after the `do_pings` event to hook services individually.
    	 *
    	 * @since 5.6.0
    	 */
    	do_action( 'do_all_pings' );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/comment.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/comment.php#L3005)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/comment.php#L3005-L3012)

## 󠀁[Hooks](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#hooks)󠁿

 [do_action( ‘do_all_pings’ )](https://developer.wordpress.org/reference/hooks/do_all_pings/)

Fires immediately after the `do_pings` event to hook services individually.

## 󠀁[Related](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#related)󠁿

| Uses | Description | 
| [do_action()](https://developer.wordpress.org/reference/functions/do_action/)`wp-includes/plugin.php` |

Calls the callback functions that have been added to an action hook.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/do_all_pings/?output_format=md#changelog)󠁿

| Version | Description | 
| [5.6.0](https://developer.wordpress.org/reference/since/5.6.0/) | Introduced `do_all_pings` action hook for individual services. | 
| [2.1.0](https://developer.wordpress.org/reference/since/2.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fdo_all_pings%2F)
before being able to contribute a note or feedback.