wc_product_dimensions_enabled()
Returns whether or not product dimensions (HxWxD) are enabled.
Хуки из функции
Возвращает
true|false.
Использование
wc_product_dimensions_enabled();
Код wc_product_dimensions_enabled() wc product dimensions enabled WC 10.5.2
function wc_product_dimensions_enabled() {
return apply_filters( 'wc_product_dimensions_enabled', true );
}