Patch add woocommerce_variable_free_price_html, woocommerce_variation_free_price
-
Hi. Small patch improves the plugin work v0.2.
@@ -100,7 +100,9 @@
function plugin_init() {if ( $this->custom_free_enabled ) {
– add_filter( ‘woocommerce_free_price_html’, array( $this, ‘custom_free_price’ ) );
+ add_filter( ‘woocommerce_free_price_html’, array( $this, ‘custom_free_price’ ) );
+ add_filter( ‘woocommerce_variable_free_price_html’, array( $this, ‘custom_free_price’ ) );
+ add_filter( ‘woocommerce_variation_free_price_html’, array( $this, ‘custom_free_price’ ) );
}if ( $this->custom_empty_enabled ) {
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Patch add woocommerce_variable_free_price_html, woocommerce_variation_free_price’ is closed to new replies.