wzkb_get_section_tree()
Get the context-aware knowledge base section tree (Pro).
Renders the full products/sections tree on the KB home, or the relevant product’s section tree on a product archive, section archive or article. Returns an empty string when the Pro feature is unavailable.
Since: 3.1.0
Source: includes/functions.php line 295
Signature
function wzkb_get_section_tree( $args = ... ): string;
Parameters
| Type | Name | Description |
|---|---|---|
array | $args | Display arguments. See Pro\Frontend\Section_Tree::get_tree(). |
Returns
string — HTML output.