WP_Object_Cache::__get()
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 Object Cache:: get WP 6.7.1
public function __get( $name ) { return $this->$name; }