Pass args to wp_list_categories filter. Props momo360modena. fixes #13682
git-svn-id: http://svn.automattic.com/wordpress/trunk@15107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2c07470d40
commit
3410a00cb6
|
@ -521,7 +521,7 @@ function wp_list_categories( $args = '' ) {
|
|||
if ( $title_li && 'list' == $style )
|
||||
$output .= '</ul></li>';
|
||||
|
||||
$output = apply_filters( 'wp_list_categories', $output );
|
||||
$output = apply_filters( 'wp_list_categories', $output, $args );
|
||||
|
||||
if ( $echo )
|
||||
echo $output;
|
||||
|
|
Loading…
Reference in New Issue