get_terms

get_terms

 

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('get_terms') is found 1 times:

  • /wp-includes/taxonomy.php line 1372
    	 * @param array|null    $taxonomies An array of taxonomies if known.
    	 * @param array         $args       An array of get_terms() arguments.
    	 * @param WP_Term_Query $term_query The WP_Term_Query object.
    	 */
    	return apply_filters( 'get_terms', $terms, $term_query->query_vars['taxonomy'], $term_query->query_vars, $term_query );
    }
    
    /**
     * Adds metadata to a term.
     *
     * @since 4.4.0
    

See this hook used in plugins: