/ Database / query.get_terms

Retrieve the terms in a given taxonomy or list of taxonomies

Parameters supported : taxonomies, orderby, order, hide_empty, include, exclude, exclude_tree, number, offset, fields, name, slug, hierarchical, search, name__like, description__like, pad_counts, get, child_of, parent, childless, cache_domain, update_term_meta_cache, meta_query

It returns: List of WP_Term instances and their children. Will return WP_Error, if any of taxonomies do not exist



Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *