Pass args array to wp_list_pages filter. Props antonylesuisse. fixes #10034
git-svn-id: https://develop.svn.wordpress.org/trunk@11936 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8a4019bb28
commit
9ed83818a6
@ -777,7 +777,7 @@ function wp_list_pages($args = '') {
|
|||||||
$output .= '</ul></li>';
|
$output .= '</ul></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = apply_filters('wp_list_pages', $output);
|
$output = apply_filters('wp_list_pages', $output, $r);
|
||||||
|
|
||||||
if ( $r['echo'] )
|
if ( $r['echo'] )
|
||||||
echo $output;
|
echo $output;
|
||||||
|
Loading…
Reference in New Issue
Block a user