WP_Object_Cache::__isset()publicWP 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 6.5.2

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