Recent

wzkb_get_section_product function

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

TypeNameDescription
int|\WP_Term$sectionSection term ID or object.

Returns

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