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 8.7.0
function wc_product_dimensions_enabled() { return apply_filters( 'wc_product_dimensions_enabled', true ); }