WP_Object_Cache::__set( string $name, mixed $value ): mixed

In this article

Makes private properties settable for backward compatibility.

Parameters

$namestringrequired
Property to set.
$valuemixedrequired
Property value.

Return

mixed Newly-set property.

Source

public function __set( $name, $value ) {
	return $this->$name = $value;
}

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.