From 9437b31707870e1fce707c3dc3495b86c422a6fc Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 18 Nov 2010 02:23:05 +0000 Subject: [PATCH] Add list_pages filter. props johnjamesjacoby, fixes #13668. git-svn-id: https://develop.svn.wordpress.org/trunk@16446 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index e078803dfa..1d0e39e034 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -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 .= "\n"; }