Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshlinRejo/0acd6970a4794489c7b5037e84274cf9 to your computer and use it in GitHub Desktop.
Save AshlinRejo/0acd6970a4794489c7b5037e84274cf9 to your computer and use it in GitHub Desktop.
Woo Discount Rules: To apply discount for custom price
add_filter('woo_discount_rules_has_price_override', '__return_true');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment