WordPress at Your Fingertips
function is not described

wc_product_weight_enabled() WC 1.0

Returns whether or not product weights are enabled.

Hooks from the function
Return

true|false.

Usage

wc_product_weight_enabled();

Code of wc_product_weight_enabled() WC 5.5.2

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