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:
Andrew Nacin 2010-11-18 02:23:05 +00:00
parent 8f2924ad13
commit 9437b31707
1 changed files with 1 additions and 0 deletions

View File

@ -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";
}