woocommerce_variation_prices

woocommerce_variation_prices

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_variation_prices') is found 1 times:

  • /includes/data-stores/class-wc-product-variable-data-store-cpt.php line 405
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
            /**
             * 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.
             */
            $this->prices_array[ $price_hash ] = apply_filters( 'woocommerce_variation_prices', $transient_cached_prices_array[ $price_hash ], $product, $for_display );
        }
        return $this->prices_array[ $price_hash ];
    }
     
    /**
     * Create unique cache key based on the tax location (affects displayed/cached prices), product version and active price filters.