Hooks::filter_email_template_context( array $context )
Filters the context array from the email tickets template.
Contents
Parameters
- $context
-
(array) (Required) Context array from event tickets emails template.
Return
(array) Filtered context.
Source
File: src/Tickets_Plus/Emails/Hooks.php
public function filter_email_template_context( $context ): array {
// Add footer credit option from settings.
$context['footer_credit'] = tribe_get_option( Settings::$option_footer_credit, true );
return $context;
}
Changelog
| Version | Description |
|---|---|
| 5.6.6 | Introduced. |