Automattic\WooCommerce\EmailEditor\Validator\Schema
Array_Schema::items
Sets the schema for the items in the array.
Метод класса: Array_Schema{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Array_Schema = new Array_Schema(); $Array_Schema->items( $schema ): self;
- $schema(Schema) (обязательный)
- Schema for the items in the array.
Код Array_Schema::items() Array Schema::items WC 9.9.5
public function items( Schema $schema ): self { return $this->update_schema_property( 'items', $schema->to_array() ); }