woocommerce_template_single_meta()
Output the product meta.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
woocommerce_template_single_meta();
Код woocommerce_template_single_meta() woocommerce template single meta WC 9.9.3
function woocommerce_template_single_meta() { if ( ! is_a( $GLOBALS['product'] ?? null, \WC_Product::class ) ) { return; } wc_get_template( 'single-product/meta.php' ); }