Make WordPress Core


Ignore:
Timestamp:
11/13/2010 02:08:27 PM (16 years ago)
Author:
scribu
Message:

Add 'get_the_terms' filter. Props filosofo. Fixes #15410

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r16341 r16342  
    10651065        $terms = wp_get_object_terms( $id, $taxonomy );
    10661066
     1067    $terms = apply_filters( 'get_the_terms', $terms, $id, $taxonomy );
     1068
    10671069    if ( empty( $terms ) )
    10681070        return false;
Note: See TracChangeset for help on using the changeset viewer.