15 '#label' =>
elgg_echo(
'usersettings:delayed_email:interval'),
16 '#help' =>
elgg_echo(
'usersettings:delayed_email:interval:help'),
17 'name' =>
'delayed_email_interval',
18 'align' =>
'horizontal',
23 'value' =>
$user->delayed_email_interval ?:
'daily',
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
$user
Set the desired interval for delayed email notifications.