In Mailster you can have multiple autoresponders to trigger your campaigns automatically. Some of them have a date or timestamp to get triggered within a certain timeframe. To not go way back to the beginning of time (and to accidentally sent to all your subscribers) Mailster uses a “Grace Period”.

By default, the grace period in Mailster is one week which means the campaign gets triggered only if the action didn’t happen within one week.

Adjust the time

You can easily adjust the time with a simple filter:

add_filter( 'mailster_autoresponder_grace_period', function( $grace_period_in_seconds, $campaign_id ){

    return MONTH_IN_SECONDS;

},10, 2 );

This will extend the period to one month. To completely disable the period and affect all subscribers within the conditions use:

add_filter( 'mailster_autoresponder_grace_period', '__return_false' );
Tagged: