Paid Memberships Pro Set Expiration Date v0.8
Set a specific expiration date (e.
Same brand
More from Paid Memberships Pro
Paid Memberships Pro - WordPress Plugin
by Paid Memberships Pro v3
The most complete member management and membership subscriptions plugin for WordPress Paid Memberships Pro gives you all the tools you need to start, manage, and grow your membership site.
Paid Memberships Pro Limit Logins
by Paid Memberships Pro v3
The Limit Logins Add On restricts simultaneous logins for the same user account, ensuring members cannot share their login credentials with others.
Paid Memberships Pro Payment Plans Addon
by Paid Memberships Pro v3
Boost your checkout conversion rates with the Payment Plans Add On for Paid Memberships Pro.
Set a specific expiration date (e.g. 2013-12-31) for a PMPro membership level or discount code. This expiration date will override any expiration period set on the level.
This code gist has been built into a full-fledged plugin that is available now on GitHub. Using this plugin as is will add an additional field to the edit level and edit discount code pages allowing you to set a specific expiration date. So instead of “expire in 30 days” you can set the level to “expire on 2015-01-01”.
The symbols Y and Y2 can be swapped in to represent the current year and next year respectively. So to expire on January 1st next year, use: Y2-01-01
The symbols M and M2 can be swapped in to represent the current month and next month respectively. So to expire on the 1st of the next month, use: Y-M2-01
Viewing this code on GitHub may also give you insight into writing custom rules for expiration dates.
Recent releases
Release history
- Fixed an issue where the expiration date was not being correctly set when using a discount code with a set expiration date. (@dwanjuki)
- Corrected expiration date calculation for future-based rules. For example, "Y2-M1-01" now correctly resolves to "next year – current month – 01". Previously, it incorrectly advanced both the month and year (next month, next year). (@andrewlimaza)
View changelog
- Support Paystack and PayFast payment gateway.
- Applied WordPress Coding Standards to code (improves readability).
- Improved support to show the expiration date when a discount code is applied.
- Moved Set Expiration Date settings to Expiration Date tab in the Membership Level settings.
- Fixed an issue in some cases where the expiration date was losing a day.
View changelog
- Fixed issue where expiration dates might not apply accurately when using PayPal Standard.
Frequently asked questions
Is Paid Memberships Pro – Set Expiration Date GPL licensed?
What is the latest version of Paid Memberships Pro – Set Expiration Date?
How much does Paid Memberships Pro – Set Expiration Date cost on GPLCoffee?
Which WordPress versions does Paid Memberships Pro – Set Expiration Date support?
Is Paid Memberships Pro – Set Expiration Date safe to download?
Auto-updates included
Install it once, update automatically.
The GPLC Connector installs this plugin from your wp-admin and rolls out new versions to your connected sites - up to 25. Included with 12-month and Geek Lifetime plans (plus legacy 6-month).