Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: https://develop.svn.wordpress.org/trunk@16446 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8f2924ad13
commit
9437b31707
@ -1098,6 +1098,7 @@ class Walker_PageDropdown extends Walker {
|
||||
$output .= ' selected="selected"';
|
||||
$output .= '>';
|
||||
$title = esc_html($page->post_title);
|
||||
$title = apply_filters( 'list_pages', $page->post_title );
|
||||
$output .= "$pad$title";
|
||||
$output .= "</option>\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user