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: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Returns the term's parent's term ID.