Automattic\WooCommerce\EmailEditor\Validator\Schema

Array_Schema::maxItems │ public │ WC 1.0

Sets the maximum number of items in the array.

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

Хуков нет.

Возвращает

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

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

$Array_Schema = new Array_Schema();
$Array_Schema->maxItems( $value ): self;
$value(int) (обязательный)
Maximum number of items in the array.

Код Array_Schema::maxItems() WC 11.3.0

public function maxItems( int $value ): self {
	return $this->update_schema_property( 'maxItems', $value );
}