Breadcrumb_Trail::do_term_parents( int $term_id, string $taxonomy )
Searches for term parents of hierarchical taxonomies. This function is similar to the WordPress function get_category_parents() but handles any type of taxonomy.
Package
Description Description
Parameters Parameters
- $term_id
(int) (Required) ID of the term to get the parents of.
- $taxonomy
(string) (Required) Name of the taxonomy for the given term.
Return Return
(void)
Changelog Changelog
Version | Description |
---|---|
0.6.0 | Introduced. |