Use the following code recipe to display a “Renew” link on the Membership Account page at your desired period before a member’s expiration date.

Showing the Renew link on the PMPro Membership Account Page

About the Code Recipe

By default, when a member signs up for a membership level that has an expiration date, they will see a “Renew” link a certain number of days prior to their membership expiration date. When a member “Renews” their membership, the new period is automatically tacked on to the end of their existing membership level. The core plugin has built-in logic to determine when the “Renew” link appears based on the active member’s billing and expiration date settings.

If the member logs in to their membership account before this timeframe is triggered, they will instead see a “Change” link, allowing them to view current membership level offerings and change their membership level. This code recipe allows you to control exactly when the “Renew” link will appear for the member.

The Code Recipe

This code recipe requires a Plus Account or higher.

View Membership Options

More about Renewals and PMPro

If you are new to PMPro, check out some of these other articles related to member renewals:

Comments (7)

Hello, when we decide to add a setting like this in the admin our developer team decides how popular or needed this is. You can, however, open a pull request on GitHub to get this added. For further assistance with this, as a Plus member, you can reach out to our Support Team in the Members Support Area.H

can’t make this to work, any $days value from 1 to 500 doesn’t replace the label to “renew” :/

Thanks for this plugin, Andrew! It was my first experience of success in using the PMPro Customization plugin, so now I’m really hooked!


Thanks – this code works better than the one I got off GitHub. The other one wasn’t showing the “Change Level” button for the subscriptions without expiration dates.

Leave a Reply

For faster support related to issues on your specific site please open a ticket in our members support area.

Your email address will not be published. Required fields are marked *