Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only send for warning periods shorter than membership length #31

Open
dparker1005 opened this issue Nov 22, 2022 · 0 comments
Open

Only send for warning periods shorter than membership length #31

dparker1005 opened this issue Nov 22, 2022 · 0 comments

Comments

@dparker1005
Copy link
Member

If a user checks out for a 30 day membership and there is a 90 day warning period set up, it does not make sense to send them the 90 day warning email.

This can probably be avoided by either setting the pmpro_expiration_notice_{$days} meta when they get a level or by checking mu.startdate in the query that determines which emails are being sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant