woocommerce_get_variation_prices_hash filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_variation_prices_hash', 'wp_kama_woocommerce_get_variation_prices_hash_filter', 10, 3 );

/**
 * Function for `woocommerce_get_variation_prices_hash` filter-hook.
 * 
 * @param  $price_hash  
 * @param  $product     
 * @param  $for_display 
 *
 * @return 
 */
function wp_kama_woocommerce_get_variation_prices_hash_filter( $price_hash, $product, $for_display ){

	// filter...
	return $price_hash;
}
$price_hash
-
$product
-
$for_display
-

Where the hook is called

WC_Product_Variable_Data_Store_CPT::get_price_hash()
woocommerce_get_variation_prices_hash
woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php 425
return md5( wp_json_encode( apply_filters( 'woocommerce_get_variation_prices_hash', $price_hash, $product, $for_display ) ) );

Where the hook is used in WooCommerce

Usage not found.