Date_Based::get_template()

Gets the template instance used to setup the rendering of the page.


Return

(Tribe__Template)


Top ↑

Source

File: src/Tribe/Admin/Notice/Date_Based.php

	public function get_template() {
		if ( empty( $this->template ) ) {
			$this->template = new \Tribe__Template();
			$this->template->set_template_origin( \Tribe__Main::instance() );
			$this->template->set_template_folder( 'src/admin-views' );
			$this->template->set_template_context_extract( true );
			$this->template->set_template_folder_lookup( false );
		}

		return $this->template;
	}

Top ↑

Changelog

Changelog
Version Description
4.14.7 Introduced.