Automattic\WooCommerce\EmailEditor\Validator
Schema::unset_schema_property
Unsets the schema property.
Метод класса: Schema{}
Хуков нет.
Возвращает
static.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->unset_schema_property( $name );
- $name(строка) (обязательный)
- Property name.
Код Schema::unset_schema_property() Schema::unset schema property WC 11.2.1
protected function unset_schema_property( string $name ) {
$clone = clone $this;
unset( $clone->schema[ $name ] );
return $clone;
}