Skip to content
Docs
Get RestroPress

Filter

rpress_reminder_fallback_interval

Updated
On this page

Filters the minimum seconds between fallback reminder checks on page loads.

Runs in rpress_reminder_init_fallback() when the reminder is enabled. If less than this many seconds have passed since the last recorded check, the fallback does nothing. The value is cast to an integer. The default is 300 (5 minutes).

Parameters#

ParameterTypeDescription
$valueintInterval in seconds.

Return value#

int. Interval in seconds.

Example#

function my_reminder_fallback_interval( $seconds ) {
	return 2 * MINUTE_IN_SECONDS;
}
add_filter( 'rpress_reminder_fallback_interval', 'my_reminder_fallback_interval' );

Source#

Applied in:

  • includes/features/reminder-emails/functions.php (line 346), in rpress_reminder_init_fallback()

See also#

Was this page helpful?