pre_trackback_post

pre_trackback_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('pre_trackback_post') is found 1 times:

  • /wp-trackback.php line 111
    	 * @param string $title         Trackback title.
    	 * @param string $excerpt       Trackback excerpt.
    	 * @param string $blog_name     Site name.
    	 */
    	do_action( 'pre_trackback_post', $post_id, $trackback_url, $charset, $title, $excerpt, $blog_name );
    
    	header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ) );
    
    	if ( ! pings_open( $post_id ) ) {
    		trackback_response( 1, __( 'Sorry, trackbacks are closed for this item.' ) );
    	}