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

Added MMPU compatibility #80

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

dparker1005
Copy link
Member

All Submissions:

Changes proposed in this Pull Request:

Add compatibility with PMPro Multiple Memberships Per User. Note that this does not include compatibility for purchasing multiple levels in a single checkout, only for managing users who have multiple levels.

Specific changes made include:

  • Checking all levels to see if they are pending in pmpropbc_isMemberPending() instead of just choosing one
  • Deprecating misspelled pmprobpc_isMemberPending() function
  • Now passing post IDs to pmprobpc_memberHasAccessWithAnyLevel() when checking if a user has access to specific restricted content
  • Now listing all levels with pending payments on Account page
  • Making sure Confirmation message is for the correct level
  • Making sure emails have level data for the correct level

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

@dparker1005 dparker1005 merged commit ab009da into strangerstudios:dev Aug 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants