get_sample_permalink_html filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@11796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
00ee55a47f
commit
d5fd7e1af6
|
@ -983,6 +983,8 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) {
|
|||
if ( isset($view_post) )
|
||||
$return .= "<span id='view-post-btn'><a href='$permalink' class='button' target='_blank'>$view_post</a></span>\n";
|
||||
|
||||
$return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
@ -1010,6 +1012,8 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) {
|
|||
if ( isset($view_post) )
|
||||
$return .= "<span id='view-post-btn'><a href='$view_link' class='button' target='_blank'>$view_post</a></span>\n";
|
||||
|
||||
$return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue