Add filter to page list
git-svn-id: https://develop.svn.wordpress.org/trunk@2583 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
58ee37098a
commit
e749e54a6b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue