Changeset 9080

Show
Ignore:
Timestamp:
10/03/08 22:09:35 (2 months ago)
Author:
azaozz
Message:

Add filter to get_categories(), props Malaiac, fixes #7427

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/category.php

    r8742 r9080  
    4141    $args = wp_parse_args( $args, $defaults ); 
    4242 
    43     $taxonomy = 'category'; 
     43    $taxonomy = apply_filters( 'get_categories_taxonomy', 'category', $args );  
    4444    if ( 'link' == $args['type'] ) 
    4545        $taxonomy = 'link_category';