post_trackback_meta_box

函数


post_trackback_meta_box ( $post )
参数
  • (WP_Post)
    $post
    Current post object.
    Required:
定义位置
  • wp-admin/includes/meta-boxes.php
    , line 723
引入
2.6.0
弃用

Displays trackback links form fields.

function post_trackback_meta_box( $post ) {
	$form_trackback = 'to_ping ) ) . '" aria-describedby="trackback-url-desc" />';

	if ( '' !== $post->pinged ) {
		$pings          = '

' . __( 'Already pinged:' ) . '

    ‘;
    $already_pinged = explode( “n”, trim( $post->pinged ) );
    foreach ( $already_pinged as $pinged_url ) {
    $pings .= “nt
  • ” . esc_html( $pinged_url ) . ‘
  • ‘;
    }
    $pings .= ‘

‘;
}

?>