Sometimes, a little compassion goes a long way. This code recipe will give your members a 15-day grace period for their membership. When a member reaches their expiration date, this code recipe will trigger a grace period that allows the member to get their account in order without losing access to protected content on your membership site.
About the Code Recipe
Life happens, and I’m sure we have all been there. Your credit card expires and you realize you have to meticulously rummage through all of your subscriptions and memberships to update your billing details. However, have you ever experienced that one particular inconvenient experience? The one where you log in to a subscription, only to find you’ve been locked out. And a huge red payment failure notice is glaring back at you – bleh.
As a site owner, I can understand the need for this. It is not impossible to think that there are people out there looking for opportunities to take advantage of these kinds of situations. To access content without having to pay for it. But I believe that for the most part, people are just busy and the tedious task of updating billing information can easily be missed.
This code recipe will give your members a 15-day grace period of full access to your site. This grace period will only come into play, once the member’s expiration date is reached. While this may seem counterintuitive for a site owner, imagine the delight your members will experience. A grace period can invoke feelings of trust and confidence in your members. Instead of immediately locking them out of your site, you give them a chance to realize the problem and rectify it.
Consider adding a grace period to your membership site. This may even result in members feeling more loyal towards you and your membership site – a real win/win situation.
The Code Recipe
Adding the recipe to your website
You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.
Free Course: Membership Site Development—The Basics
Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.