Filter
rpress_reminder_default_enabled
On this page
Filters whether the order reminder email is on by default.
Runs in rpress_reminder_default_enabled() and applies until the store owner saves the reminder settings. The stored default is 'yes' for stores with no existing order reminder configuration at the time it is first read, and 'no' otherwise. Return false to keep the reminder off until it is switched on.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | bool | Whether the reminder is on by default. |
Return value#
bool. True if the reminder is on by default.
Example#
function my_reminder_default( $enabled ) {
return false;
}
add_filter( 'rpress_reminder_default_enabled', 'my_reminder_default' );
Source#
Applied in:
includes/features/reminder-emails/functions.php(line 63), inrpress_reminder_default_enabled()
See also#
Was this page helpful?
