diff --git a/src/Objects/WordPressObject.php b/src/Objects/WordPressObject.php index 06aeb95..b049f50 100644 --- a/src/Objects/WordPressObject.php +++ b/src/Objects/WordPressObject.php @@ -40,4 +40,9 @@ public function __get(string $key): mixed { return $this->_map[$key] ?? null; } + + public function __isset(string $key): bool + { + return isset($this->_map[$key]); + } }