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.
Last Updated: January 4, 2019
Developer: Paid Memberships Pro
PMPro – Set Expiration Date Changelog – Version: .4.3
= .4.3 =
* BUG FIX: Added back the code to make sure dates like 2019-02-31 are converted to 2019-02-28