Home / Archive / MemberPress: Extend the Grace Period
Duplicate Snippet

Embed Snippet on Your Site

MemberPress: Extend the Grace Period

This will extend the default 1-day grace period for subscriptions. The code needs to be adjusted by changing the number of days on the following line:

return 7;

Code Preview
php
<?php
function mepr_extend_grace_period() {
  return 7;
}
add_filter( 'mepr-grace-init-days', 'mepr_extend_grace_period' );

Comments

Add a Comment