This filters how many days before expiration PMPro should send expiration warning emails. The default is 7 days.

Here is how the filter looks in the code:
apply_filters( 'pmpro_email_days_before_expiration', 7 );
If you’d like to send more than 1 expiration warning email, you can use our Add On: Extra Expiration Warning Emails.Here is a gist showing how to use this filter.

Parameters

int (7)

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/scheduled/crons.php

View in Source Code