woocommerce_variation_prices_sale_price filter-hookWC 1.0

Usage

add_filter( 'woocommerce_variation_prices_sale_price', 'wp_kama_woocommerce_variation_prices_sale_price_filter', 10, 3 );

/**
 * Function for `woocommerce_variation_prices_sale_price` filter-hook.
 * 
 * @param  $variation_sale_price 
 * @param  $variation            
 * @param  $product              
 *
 * @return 
 */
function wp_kama_woocommerce_variation_prices_sale_price_filter( $variation_sale_price, $variation, $product ){

	// filter...
	return $variation_sale_price;
}
$variation_sale_price
-
$variation
-
$product
-

Where the hook is called

WC_Product_Variable_Data_Store_CPT::read_price_data()
woocommerce_variation_prices_sale_price
woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php 304
$sale_price    = apply_filters( 'woocommerce_variation_prices_sale_price', $variation->get_sale_price( 'edit' ), $variation, $product );

Where the hook is used in WooCommerce

Usage not found.