(hook_prefix)weight filter-hookWC 1.0

Usage

add_filter( '(hook_prefix)weight', 'wp_kama_hook_prefixweight_filter', 10, 2 );

/**
 * Function for `(hook_prefix)weight` filter-hook.
 * 
 * @param  $parent_data_weight 
 * @param  $that               
 *
 * @return 
 */
function wp_kama_hook_prefixweight_filter( $parent_data_weight, $that ){

	// filter...
	return $parent_data_weight;
}
$parent_data_weight
-
$that
-

Where the hook is called

WC_Product_Variation::get_weight()
(hook_prefix)weight
woocommerce/includes/class-wc-product-variation.php 233
$value = apply_filters( $this->get_hook_prefix() . 'weight', $this->parent_data['weight'], $this );

Where the hook is used in WooCommerce

Usage not found.