Paid Memberships Pro (PMPro) coding notes

< All Topics

Paid Memberships Pro (PMPro)
• Added many plugins direct from GitHub. These will need to be manually checked for updates.
o PMPro Approvals Add On
o PMPro Email Templates Add On
o PMPro Extra Expiration Warning Emails Add On
o PMPro Membership Manager Role Add On

•  Many snippets have been created to modify PMPro behavior.

•  To adjust the membership warning on frontend user dashboard code is here:

change line 52 to put number of days before expiration to warn them
if( strtotime($hold_calc_enddate) < strtotime(‘+30 days’) ) {
$expiring_soon = true;

•  To turn off/on emails for PMPro like approvals (like for testing), go to PMPro/Memberships, Email Templates, select the template you want, and click checkbox to turn off/on the emails

Table of Contents