Hooks::action_add_promo_banner( string $file, array $name, TribeEventsViewsV2Template $template )
Include the promo banner after the after component.
Contents
Parameters
- $file
-
(string) (Required) Complete path to include the PHP File.
- $name
-
(array) (Required) Template name.
- $template
-
(TribeEventsViewsV2Template) (Required) Current instance of the Template.
Return
(void) Template render has no return.
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 ); }
Changelog
Version | Description |
---|---|
5.1.5 | Introduced. |