woocommerce_variation_prices_regular_price

woocommerce_variation_prices_regular_price

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_variation_prices_regular_price') is found 1 times:

  • /includes/data-stores/class-wc-product-variable-data-store-cpt.php line 320
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    $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;
        }