woocommerce_variation_prices_price

woocommerce_variation_prices_price

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_variation_prices_price') is found 1 times:

  • /includes/data-stores/class-wc-product-variable-data-store-cpt.php line 302
    				foreach ( $variation_ids as $variation_id ) {
    					$variation = wc_get_product( $variation_id );
    
    					if ( $variation ) {
    						$price         = apply_filters( 'woocommerce_variation_prices_price', $variation->get_price( 'edit' ), $variation, $product );
    						$regular_price = apply_filters( 'woocommerce_variation_prices_regular_price', $variation->get_regular_price( 'edit' ), $variation, $product );
    						$sale_price    = apply_filters( 'woocommerce_variation_prices_sale_price', $variation->get_sale_price( 'edit' ), $variation, $product );
    
    						// Skip empty prices.
    						if ( '' === $price ) {
    							continue;