Single_Events::get_template( TribeEventsViewsV2iCalendarTemplate $template )
Gets the template instance used to render single events iCalendar templates.
Contents
Parameters
- $template
-
(TribeEventsViewsV2iCalendarTemplate) (Required) An instance of the plugin template handler.
Return
(TribeEventsViewsV2iCalendarTemplate) An instance of the plugin template handler.
Source
File: src/Tribe/Views/V2/iCalendar/Single_Events.php
public function get_template( $template ) { if ( empty( $this->template ) ) { $this->template = $template; } return $this->template; }
Changelog
Version | Description |
---|---|
5.16.0 | Introduced. |