Created
July 14, 2022 14:31
-
-
Save clifgriffin/810149a41659133ab6135ffe66b55927 to your computer and use it in GitHub Desktop.
Disable all order bumps at checkout (CheckoutWC)
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( | |
'cfw_display_bump', | |
function() { | |
return ! is_checkout(); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment