-
Notifications
You must be signed in to change notification settings - Fork 357
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
Adding filters for formatted order total, subtotal, tax #3009
Adding filters for formatted order total, subtotal, tax #3009
Conversation
@dparker1005 this is great! |
Hey @dparker1005 I found one instance so far where we also need to filter.
WDYT? |
I think if we can add a filter for |
@dparker1005 Sorry for all the messages. It looks like this PR caused an error on one specific page. The orders on this page are just results from the DB and not Order objects as such. |
Hey @dparker1005 https://github.com/strangerstudios/paid-memberships-pro/pull/3018/files |
Hi @louiswol94, thank you for the feedback! I have opened #3020 to address the fatal error and #3021 to add the |
Thanks @dparker1005 , you are very quick! Regarding the cost text filter, you will see in my PR I added a getter for With your current filter, it does not really help much AFAIU, because all the subscription data is protected. Wdyt? |
Hi @louiswol94, You should be able to call |
@dparker1005 Ah I missed that, thanks! Seems to be working :) Do you guys have an ETA for the 3.1 release? |
I am glad to hear that method is now working! We do not typically speculate on release dates for our plugins as release schedules depend on a number of uncontrollable variables including the time required to confidently test all of the merged changes on different site setups. |
All Submissions:
Changes proposed in this Pull Request:
Adds the following filters to adjust how an order's total, subtotal, and tax values are displayed across PMPro:
Opened as an alternative to #2988
Other information:
Changelog entry