Automattic\WooCommerce\EmailEditor\Validator\Schema

Object_Schema::additionalPropertiespublicWC 1.0

Set the required properties of the object.

Метод класса: Object_Schema{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Object_Schema = new Object_Schema();
$Object_Schema->additionalProperties( $schema ): self;
$schema(Schema) (обязательный)
Schema of the additional properties.

Код Object_Schema::additionalProperties() WC 10.0.2

public function additionalProperties( Schema $schema ): self {
	return $this->update_schema_property( 'additionalProperties', $schema->to_array() );
}