get_$taxonomy

get_$taxonomy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_$taxonomy') is found 1 times:

  • /wp-includes/taxonomy.php line 1040
    1036
    1037
    1038
    1039
    1040
    1041
    1042
    1043
    1044
    1045
    *
     * @param WP_Term $_term    Term object.
     * @param string  $taxonomy The taxonomy slug.
     */
    $_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );
     
    // Bail if a filter callback has changed the type of the `$_term` object.
    if ( ! ( $_term instanceof WP_Term ) ) {
        return $_term;
    }