woocommerce_get_variation_prices_hash

woocommerce_get_variation_prices_hash

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_variation_prices_hash') is found 1 times:

  • /includes/data-stores/class-wc-product-variable-data-store-cpt.php line 445
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
                }
            }
        }
     
        return md5( wp_json_encode( apply_filters( 'woocommerce_get_variation_prices_hash', $price_hash, $product, $for_display ) ) );
    }
     
    /**
     * Does a child have a weight set?
     *
     * @param WC_Product $product Product object.