Add list_pages filter. props johnjamesjacoby, fixes #13668.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-11-18 02:23:05 +00:00
parent 1b3ddf631e
commit 8ff32f52df
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";
}