wp_get_term_taxonomy_parent_id


wp_get_term_taxonomy_parent_id ( $term_id, $taxonomy )

Parameters:
  • (int) term_id Term ID.
  • (string) taxonomy Taxonomy name.
Returns:
  • (int|false) Parent term ID on success, false on failure.
Defined at:

Description

Returns the term's parent's term ID.

Related Functions

wp_get_post_parent_id, _wp_filter_taxonomy_base, get_term_parents_list, get_the_taxonomies, wp_nav_menu_item_taxonomy_meta_box

Top Google Results

User discussions

wpseek mobile