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