Go to the source code of this file.
◆ $body
if (!empty( $unknowns)) $body = elgg_echo('notifications:delayed_email:body:intro') . PHP_EOL . PHP_EOL |
◆ $notifications
$notifications = (array) elgg_extract('notifications', $vars) |
◆ $recipient
◆ $sorted
if (empty( $notifications)||! $recipient instanceof \ElggEntity) $sorted = [] |
◆ $unknowns
foreach ( $notifications as $index=> $notification) if (empty( $sorted)) $unknowns = elgg_extract('other', $sorted, []) |
◆ if
foreach ( $sorted as $category=> $sorted_notifications) if(empty($body)) |
( |
empty( $body) |
| ) |
|