Title::set_context( Tribe__Context|null $context = null )

Sets the context this title object should use to build the title.


Parameters

$context

(Tribe__Context|null) (Optional) The context to use, null values will unset it causing the object to use the global context.

Default value: null


Top ↑

Return

($this) For chaining.


Top ↑

Source

File: src/Tribe/Views/V2/Template/Title.php

	public function set_context( Context $context = null ) {
		$this->context = $context;

		return $this;
	}

Top ↑

Changelog

Changelog
Version Description
4.9.10 Introduced.