Single_Events::get_template( TribeEventsViewsV2iCalendarTemplate $template )

Gets the template instance used to render single events iCalendar templates.


Parameters #

$template

(TribeEventsViewsV2iCalendarTemplate) (Required) An instance of the plugin template handler.


Top ↑

Return #

(TribeEventsViewsV2iCalendarTemplate) An instance of the plugin template handler.


Top ↑

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

Top ↑

Changelog #

Changelog
Version Description
5.16.0 Introduced.