woocommerce_show_variation_price, $variation->get_price(
woocommerce_show_variation_price, $variation->get_price(
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_show_variation_price, $variation->get_price(') is found 1 times:
- /includes/class-wc-product-variable.php line 460
$variation_gallery_html = wc_get_product_gallery_html( $this, $gallery_html_ids ); } // See if prices should be shown for each variation after selection. $show_variation_price = apply_filters( 'woocommerce_show_variation_price', $variation->get_price() === '' || $this->get_variation_sale_price( 'min' ) !== $this->get_variation_sale_price( 'max' ) || $this->get_variation_regular_price( 'min' ) !== $this->get_variation_regular_price( 'max' ), $this, $variation ); return apply_filters( 'woocommerce_available_variation', array( 'attributes' => $variation->get_variation_attributes(), 'availability_html' => wc_get_stock_html( $variation ),