Skip to content

Instantly share code, notes, and snippets.

@sirjonathan
Created February 17, 2021 16:09
Show Gist options
  • Save sirjonathan/30425d0a047876c161cb5fe5fd74863a to your computer and use it in GitHub Desktop.
Save sirjonathan/30425d0a047876c161cb5fe5fd74863a to your computer and use it in GitHub Desktop.
Remove coupon form from checkout
// Removes the "Have a Coupon?" prompt from the checkout page
remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment