Action hook 'do_all_pings'

in WP Core File wp-includes/comment.php at line 2945

View Source

do_all_pings

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

Hook Information

File Location wp-includes/comment.php View on GitHub
Hook Type Action
Line Number 2945

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into do_all_pings
add_action('do_all_pings', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-includes/comment.php:2945 - How this hook is used in WordPress core
<?php
2940  	/**
2941  	 * Fires immediately after the `do_pings` event to hook services individually.
2942  	 *
2943  	 * @since 5.6.0
2944  	 */
2945  	do_action( 'do_all_pings' );
2946  }
2947  
2948  /**
2949   * Performs all pingbacks.
2950   *

PHP Documentation

<?php
/**
	 * Fires immediately after the `do_pings` event to hook services individually.
	 *
	 * @since 5.6.0
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-includes/comment.php
Related Hooks

Related hooks will be displayed here in future updates.