Created
January 29, 2020 05:26
-
-
Save sandeepwisetr/7be363e64de67a0536831ec3ef4dce51 to your computer and use it in GitHub Desktop.
Allow All type of product in skip cart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wfch_offer_product_types', function () { | |
return array( | |
'simple', | |
'variable', | |
'course', | |
'variation', | |
'subscription', | |
'variable-subscription', | |
'subscription_variation', | |
'virtual_subscription', | |
'bundle', | |
'yith_bundle', | |
'woosb', | |
'braintree-subscription', | |
'braintree-variable-subscription', | |
); | |
} ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment