WP_Object_Cache::__set

Advertisement

Summery Summery

Makes private properties settable for backward compatibility.

Syntax Syntax

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

Parameters Parameters

$name

(string) (Required) Property to set.

$value

(mixed) (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

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.