Breadcrumb_Trail::add_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.


Top ↑

Return Return

(void)


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.0.0Introduced.

Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.