formcierge_notification_context
Filter
Since v1.0.0
Add data to the context array used when rendering notification templates.
Parameters
$context
array
Template context array.
$form_id
int
The form ID.
$entry_id
int
The entry ID.
includes/Core/Mailer.php
Basic Usage
add_filter( 'formcierge_notification_context', function ( $context, $form_id, $entry_id ) {
$context['site_logo_url'] = get_custom_logo();
return $context;
}, 10, 3 );