woocommerce_template_single_meta() │ WC 1.0

Output the product meta.

Хуков нет.

Возвращает

void. Ничего (null).

Использование

woocommerce_template_single_meta();

Код woocommerce_template_single_meta() WC 11.2.2

function woocommerce_template_single_meta() {
	if ( ! is_a( $GLOBALS['product'] ?? null, \WC_Product::class ) ) {
		return;
	}

	wc_get_template( 'single-product/meta.php' );
}