WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_variation_prices хук-фильтр . WC 1.0

Give plugins one last chance to filter the variation prices array which has been generated and store locally to the class. This value may differ from the transient cache. It is filtered once before storing locally.


add_filter( 'woocommerce_variation_prices', 'filter_function_name_5675', 10, 3 );
function filter_function_name_5675( $transient_cached_prices_array[ $price_hash ], $product, $for_display ){
	// filter...

	return $transient_cached_prices_array[ $price_hash ];
$transient_cached_prices_array[ $price_hash ]

Где вызывается хук

woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php 382
$this->prices_array[ $price_hash ] = apply_filters( 'woocommerce_variation_prices', $transient_cached_prices_array[ $price_hash ], $product, $for_display );

Где используется хук в ядре WooCommerce

Использование не найдено.