Add filter to page list

git-svn-id: http://svn.automattic.com/wordpress/trunk@2583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-05-04 20:57:12 +00:00
parent 17681831ee
commit f0a54726e0
1 changed files with 2 additions and 0 deletions

View File

@ -356,6 +356,8 @@ function wp_list_pages($args = '') {
$output .= '</ul></li>'; $output .= '</ul></li>';
endif; endif;
$output = apply_filters('wp_list_pages', $output);
if ( $r['echo'] ) if ( $r['echo'] )
echo $output; echo $output;
else else