Add trackback_url filter. Props jhodgdon. fixes #4032

git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-03-26 23:40:49 +00:00
parent 8fd1367323
commit 9de70f4145
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ function get_trackback_url() {
if ( '' != get_option('permalink_structure') ) if ( '' != get_option('permalink_structure') )
$tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback', 'single_trackback'); $tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback', 'single_trackback');
return $tb_url; return apply_filters('trackback_url', $tb_url);
} }
function trackback_url( $display = true ) { function trackback_url( $display = true ) {
if ( $display) if ( $display)