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:
Ryan Boren 2010-06-02 14:02:54 +00:00
parent a5dbd0e164
commit cf4521e441
1 changed files with 1 additions and 1 deletions

View File

@ -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;