Title::set_context( Tribe__Context|null $context = null )
Sets the context this title object should use to build the title.
Contents
Parameters
- $context
-
(Tribe__Context|null) (Optional) The context to use,
nullvalues will unset it causing the object to use the global context.Default value: null
Return
($this) For chaining.
Source
File: src/Tribe/Views/V2/Template/Title.php
public function set_context( Context $context = null ) {
$this->context = $context;
return $this;
}
Changelog
| Version | Description |
|---|---|
| 4.9.10 | Introduced. |