Tribe__Events__Aggregator__Tabs__Abstract::render()

Creates a way to include the this tab HTML easily

Contents


Return

(string) Content of the tab


Top ↑

Source

File: src/Tribe/Aggregator/Tabs/Abstract.php

	public function render() {
		$data = array(
			'tab' => $this,
		);

		return Tribe__Events__Aggregator__Page::instance()->template( 'tabs/' . $this->get_slug(), $data );
	}