wc_product_weight_enabled filter-hookWC 1.0

Returns whether or not product weights are enabled.

Usage

add_filter( 'wc_product_weight_enabled', 'wp_kama_wc_product_weight_enabled_filter' );

/**
 * Function for `wc_product_weight_enabled` filter-hook.
 * 
 * @param  $true 
 *
 * @return 
 */
function wp_kama_wc_product_weight_enabled_filter( $true ){

	// filter...
	return $true;
}
$true
-

Where the hook is called

wc_product_weight_enabled()
wc_product_weight_enabled
woocommerce/includes/wc-product-functions.php 106
return apply_filters( 'wc_product_weight_enabled', true );

Where the hook is used in WooCommerce

Usage not found.