Yoast\WP\SEO\Surfaces\Values
Meta::__isset()
Magic isset for ensuring properties on the presentation are recognised.
Метод класса: Meta{}
Хуков нет.
Возвращает
true|false
. Whether or not the requested property exists.
Использование
$Meta = new Meta(); $Meta->__isset( $name );
- $name(строка) (обязательный)
- The property to get.
Код Meta::__isset() Meta:: isset Yoast 24.7
public function __isset( $name ) { if ( \array_key_exists( $name, $this->properties_bin ) ) { return true; } return isset( $this->context->presentation->{$name} ); }