WP_Object_Cache::__get

Advertisement

Summery Summery

Makes private properties readable for backward compatibility.

Syntax Syntax

WP_Object_Cache::__get( string $name )

Parameters Parameters

$name

(Required) Property to get.

Return Return

(mixed) Property.

Source Source

File: wp-includes/class-wp-object-cache.php

	public function __get( $name ) {
		return $this->$name;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply