pingback_post
Fires after a post pingback has been sent.
Description
Parameters (1)
- 0. $comment_id (int)
- The comment id.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'pingback_post', $comment_id );
- The following example is for adding a hook callback.
- // define the pingback_post callback
- function action_pingback_post( $comment_id ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'pingback_post', 'action_pingback_post', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'pingback_post', 'action_pingback_post', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /wp-includes/class-wp-xmlrpc-server.php
- do_action( 'pingback_post', $comment_ID );