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