Skip to content

Instantly share code, notes, and snippets.

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 AshlinRejo/4cae967915a679cfeecac7040100b853 to your computer and use it in GitHub Desktop.
Save AshlinRejo/4cae967915a679cfeecac7040100b853 to your computer and use it in GitHub Desktop.
Discount Rules v2: Disable recalculate total
add_filter('advanced_woo_discount_rules_do_recalculate_total', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment