Send a trial expiration email within a time period before the trial ends.


/**
 * Send a trial expiration email within a time period.
 *
 * @see pmpro_cron_trial_ending_warnings
 *
 * @param int $days Default 7.
 *
 * @return int $days Default 7.
 */
$pmpro_email_days_before_trial_end = apply_filters( 'pmpro_email_days_before_trial_end', 7 );

Parameters

$days
int

Return Value

$days


Source

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

View in Source Code