Lazy_String::__toString()
Inits, and returns, the string value of the string.
Return
(string) The unescaped string value.
Source
File: src/Tribe/Utils/Lazy_String.php
public function __toString() {
if ( null === $this->string ) {
$this->string = call_user_func( $this->value_callback );
$this->resolved();
}
return $this->string;
}
Changelog
| Version | Description |
|---|---|
| 4.9.16 | Introduced. |