Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AshlinRejo/6d073e7cf341da981cf2e650f9d859a5 to your computer and use it in GitHub Desktop.
Save AshlinRejo/6d073e7cf341da981cf2e650f9d859a5 to your computer and use it in GitHub Desktop.
Discount rule v2: Check purchase history based on both email and user id
add_filter('advanced_woo_discount_rules_check_purchase_history_based_on_email_and_user_id', '__return_true');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment