WP_Object_Cache::__set()
Makes private properties settable for backward compatibility.
Method of the class: WP_Object_Cache{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Object_Cache = new WP_Object_Cache(); $WP_Object_Cache->__set( $name, $value );
- $name(string) (required)
- Property to set.
- $value(mixed) (required)
- Property value.
Changelog
Since 4.0.0 | Introduced. |
WP_Object_Cache::__set() WP Object Cache:: set code WP 6.7.1
public function __set( $name, $value ) { $this->$name = $value; }