Pass args to wp_list_categories filter. Props momo360modena. fixes #13682
git-svn-id: https://develop.svn.wordpress.org/trunk@15107 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a5dbd0e164
commit
cf4521e441
|
@ -521,7 +521,7 @@ function wp_list_categories( $args = '' ) {
|
||||||
if ( $title_li && 'list' == $style )
|
if ( $title_li && 'list' == $style )
|
||||||
$output .= '</ul></li>';
|
$output .= '</ul></li>';
|
||||||
|
|
||||||
$output = apply_filters( 'wp_list_categories', $output );
|
$output = apply_filters( 'wp_list_categories', $output, $args );
|
||||||
|
|
||||||
if ( $echo )
|
if ( $echo )
|
||||||
echo $output;
|
echo $output;
|
||||||
|
|
Loading…
Reference in New Issue