Hooks::action_add_promo_banner( string $file, array $name, TribeEventsViewsV2Template $template )

Include the promo banner after the after component.


Parameters #

$file

(string) (Required) Complete path to include the PHP File.

$name

(array) (Required) Template name.

$template

(TribeEventsViewsV2Template) (Required) Current instance of the Template.


Top ↑

Return #

(void) Template render has no return.


Top ↑

Source #

File: src/Tribe/Views/V2/Hooks.php

	public function action_add_promo_banner( $file, $name, $template ) {
		$this->container->make( Template\Promo::class )->action_add_promo_banner( $file, $name, $template );
	}

Top ↑

Changelog #

Changelog
Version Description
5.1.5 Introduced.