woocommerce_variation_prices_array filter-hookWC 1.0

Usage

add_filter( 'woocommerce_variation_prices_array', 'wp_kama_woocommerce_variation_prices_array_filter', 10, 3 );

/**
 * Function for `woocommerce_variation_prices_array` filter-hook.
 * 
 * @param  $prices_array 
 * @param  $variation    
 * @param  $for_display  
 *
 * @return 
 */
function wp_kama_woocommerce_variation_prices_array_filter( $prices_array, $variation, $for_display ){

	// filter...
	return $prices_array;
}
$prices_array
-
$variation
-
$for_display
-

Where the hook is called

WC_Product_Variable_Data_Store_CPT::read_price_data()
woocommerce_variation_prices_array
woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php 369
$prices_array = apply_filters( 'woocommerce_variation_prices_array', $prices_array, $variation, $for_display );

Where the hook is used in WooCommerce

Usage not found.