Tribe__Template::set_template_context_extract( bool $value = false )

Configures if the class will extract context for template


Parameters

$value

(bool) (Optional) Should we extract context for templates

Default value: false


Top ↑

Return

(self)


Top ↑

Source

File: src/Tribe/Template.php

	public function set_template_context_extract( $value = false ) {
		// Cast as bool and save
		$this->template_context_extract = tribe_is_truthy( $value );

		return $this;
	}

Top ↑

Changelog

Changelog
Version Description
4.6.2 Introduced.