mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-12 20:32:55 +00:00
2.3.7
This commit is contained in:

committed by
Remco Tolsma

parent
a3be3724dc
commit
ce24e61a4c
@@ -165,7 +165,7 @@ class WC_Product_Subscription_Variation extends WC_Product_Variation {
|
||||
|
||||
$sign_up_fee_including_tax = parent::get_price_including_tax( $qty );
|
||||
|
||||
remove_filter( 'woocommerce_get_price', array( &$this, 'get_sign_up_fee' ), 100, 0 );
|
||||
remove_filter( 'woocommerce_get_price', array( &$this, 'get_sign_up_fee' ), 100 );
|
||||
|
||||
return $sign_up_fee_including_tax;
|
||||
}
|
||||
@@ -183,7 +183,7 @@ class WC_Product_Subscription_Variation extends WC_Product_Variation {
|
||||
|
||||
$sign_up_fee_excluding_tax = parent::get_price_excluding_tax( $qty );
|
||||
|
||||
remove_filter( 'woocommerce_get_price', array( &$this, 'get_sign_up_fee' ), 100, 0 );
|
||||
remove_filter( 'woocommerce_get_price', array( &$this, 'get_sign_up_fee' ), 100 );
|
||||
|
||||
return $sign_up_fee_excluding_tax;
|
||||
}
|
||||
|
Reference in New Issue
Block a user