WP_Object_Cache::__isset
Makes private properties checkable for backward compatibility.
Метод класса: WP_Object_Cache{}
Хуков нет.
Возвращает
true|false. Whether the property is set.
Использование
$WP_Object_Cache = new WP_Object_Cache(); $WP_Object_Cache->__isset( $name );
- $name(строка) (обязательный)
- Property to check if set.
Список изменений
| С версии 4.0.0 | Введена. |
Код WP_Object_Cache::__isset() WP Object Cache:: isset WP 6.9.4
public function __isset( $name ) {
return isset( $this->$name );
}