Recent

wzkb_get_term_hierarchy_path function

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

TypeNameDescription
\WP_Term$termTerm object.
bool$include_productWhether to include the associated product in the path.
string$separatorSeparator between terms.

Returns

string — Hierarchy path.