Summery Summery
Returns the term’s parent’s term_ID.
Syntax Syntax
Parameters Parameters
- $term_id
-
(Required) Term ID.
- $taxonomy
-
(Required) Taxonomy name.
Return Return
(int|false) False on error.
Source Source
File: wp-includes/taxonomy.php
} if ( empty( $terms ) ) { return ( ! empty( $object_terms ) ); } $terms = (array) $terms;
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |