mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-30 20:21:37 +01:00
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:
parent
17681831ee
commit
f0a54726e0
@ -356,6 +356,8 @@ function wp_list_pages($args = '') {
|
||||
$output .= '</ul></li>';
|
||||
endif;
|
||||
|
||||
$output = apply_filters('wp_list_pages', $output);
|
||||
|
||||
if ( $r['echo'] )
|
||||
echo $output;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user