trackback_url() – Display the current post’s trackback URL.

Description

Displays the current post's trackback URL.

Usage

$void|string = trackback_url( $deprecated_echo );

Parameters

$deprecated_echo
( bool ) optional default: 1 – Not used.

Returns

void|string Should only be used to echo the trackback URL, use get_trackback_url() for the result instead.

Source

File name: wordpress/wp-includes/comment-template.php
Lines:

1 to 19 of 19
function trackback_url( $deprecated_echo = true ) {
  if ( true !== $deprecated_echo ) {
    _deprecated_argument(
      trackback_url,
      '2.5.0',
      sprintf(
        /* translators: %s: get_trackback_url() */
        __( 'Use %s instead if you do not want the value echoed.' ),
        '<code>get_trackback_url()</code>'
      )
    );
  }

  if ( $deprecated_echo ) {
    echo get_trackback_url();
  } else {
    return get_trackback_url();
  }
}
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,