wc_product_weight_enabled filter-hook . WC 1.0
Returns whether or not product weights are enabled.
Usage
add_filter( 'wc_product_weight_enabled', 'filter_function_name_4703' ); function filter_function_name_4703( $true ){ // filter... return $true; }
- $true
- -
Where the hook is called
wc_product_weight_enabled
woocommerce/includes/wc-product-functions.php 103
return apply_filters( 'wc_product_weight_enabled', true );