Recent

wzkb_get_section_productfunction

wzkb_get_section_product()

Get the product term associated with a section.

Since: 3.0.0
Source: includes/functions.php line 321

Signature

function wzkb_get_section_product( $section ): \WP_Term|false;

Parameters

Type Name Description
int|\WP_Term $section Section term ID or object.

Returns

\WP_Term|false — Product term object or false if not found.