View::send_html( null|string $html = null )

Sends, echoing it and exiting, the view HTML on the page.


Parameters

$html

(null|string) (Optional) A specific HTML string to print on the page or the HTML produced by the view get_html method.

Default value: null


Top ↑

Source

File: src/Tribe/Views/V2/View.php

	public function send_html( $html = null ) {
		$html = null === $html ? $this->get_html() : $html;
		echo $html;
		tribe_exit( 200 );
	}

Top ↑

Changelog

Changelog
Version Description
4.9.2 Introduced.