trackback_post
Fires after a trackback is added to a post.
Usage
add_action( 'trackback_post', 'wp_kama_trackback_post_action' );
/**
* Function for `trackback_post` action-hook.
*
* @param int $trackback_id Trackback ID.
*
* @return void
*/
function wp_kama_trackback_post_action( $trackback_id ){
// action...
}
- $trackback_id(int)
- Trackback ID.
Changelog
| Since 1.2.0 | Introduced. |
Where the hook is called
In file: /wp-trackback.php
trackback_post
wp-trackback.php 175
do_action( 'trackback_post', $trackback_id );