Hooks::filter_email_template_context( array $context )

Filters the context array from the email tickets template.


Parameters

$context

(array) (Required) Context array from event tickets emails template.


Top ↑

Return

(array) Filtered context.


Top ↑

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;
	}

Top ↑

Changelog

Changelog
Version Description
5.6.6 Introduced.