wc_product_weight_enabled() │ WC 1.0

Returns whether or not product weights are enabled.

Хуки из функции

Возвращает

bool.

Использование

wc_product_weight_enabled();

Код wc_product_weight_enabled() WC 11.2.2

function wc_product_weight_enabled() {
	return apply_filters( 'wc_product_weight_enabled', true );
}