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