wzkb_get_term_hierarchy_path()
Get the full section hierarchy path for a term.
Since: 3.0.0
Source: includes/functions.php line 369
Signature
function wzkb_get_term_hierarchy_path( $term, $include_product = ..., $separator = ... ): string;
Parameters
| Type | Name | Description |
|---|---|---|
\WP_Term | $term | Term object. |
bool | $include_product | Whether to include the associated product in the path. |
string | $separator | Separator between terms. |
Returns
string — Hierarchy path.