WP_Object_Cache::__set( string $name, mixed $value )
Makes private properties settable for backward compatibility.
Parameters
- $name
-
(Required) Property to set.
- $value
-
(Required) Property value.
Return
(mixed) Newly-set property.
Source
File: wp-includes/cache.php
public function __set( $name, $value ) {
return $this->$name = $value;
}
Changelog
Version | Description |
---|---|
WP-4.0.0 | Introduced. |