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