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