Skip to content

Instantly share code, notes, and snippets.

@clifgriffin
Created July 14, 2022 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clifgriffin/810149a41659133ab6135ffe66b55927 to your computer and use it in GitHub Desktop.
Save clifgriffin/810149a41659133ab6135ffe66b55927 to your computer and use it in GitHub Desktop.
Disable all order bumps at checkout (CheckoutWC)
<?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