trackback_url()
Displays the current post's trackback URL.
No Hooks.
Return
null|String
. Should only be used to echo the trackback URL, use get_trackback_url() for the result instead.
Usage
trackback_url( $deprecated_echo );
- $deprecated_echo(true|false)
- Not used.
Default: true
Changelog
Since 0.71 | Introduced. |
trackback_url() trackback url code WP 6.6.2
function trackback_url( $deprecated_echo = true ) { if ( true !== $deprecated_echo ) { _deprecated_argument( __FUNCTION__, '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(); } }