WP_Object_Cache::__isset() public WP 4.0.0
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 5.7
public function __isset( $name ) {
return isset( $this->$name );
}