WP_Object_Cache::__get()publicWP 4.0.0

Makes private properties readable for backward compatibility.

Метод класса: WP_Object_Cache{}

Хуков нет.

Возвращает

Разное. Property.

Использование

$WP_Object_Cache = new WP_Object_Cache();
$WP_Object_Cache->__get( $name );
$name(строка) (обязательный)
Property to get.

Список изменений

С версии 4.0.0 Введена.

Код WP_Object_Cache::__get() WP 6.4.3

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