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 filter to show custom confirmation message. #183

Merged

Conversation

andrewlimaza
Copy link
Collaborator

  • ENHANCEMENT: Added the filter pmpro_approvals_show_confirmation_message which allows you to show the custom levels confirmation message. Defaults to false.

Resolves: #173

All Submissions:

* ENHANCEMENT: Added the filter `pmpro_approvals_show_confirmation_message` which allows you to show the custom levels confirmation message. Defaults to false.
@andrewlimaza
Copy link
Collaborator Author

This is how we do it in core - https://github.com/strangerstudios/paid-memberships-pro/blob/dev/pages/confirmation.php#L45-L49

We had to put this logic back because we override the level's confirmation message entirely.

* Rename the filter to be even more clear.
@dparker1005 dparker1005 merged commit 1a8ac70 into strangerstudios:dev Jul 18, 2024
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.

Custom confirmation message added on the Level page are not inserted
2 participants