wc_product_weight_enabled()
Returns whether or not product weights are enabled.
Hooks from the function
Return
true|false
.
Usage
wc_product_weight_enabled();
wc_product_weight_enabled() wc product weight enabled code WC 8.3.0
function wc_product_weight_enabled() { return apply_filters( 'wc_product_weight_enabled', true ); }