Automattic\WooCommerce\EmailEditor\Validator\Schema
String_Schema::maxLength
Set maximum length of the string.
Method of the class: String_Schema{}
No Hooks.
Returns
null. Nothing (null).
Usage
$String_Schema = new String_Schema(); $String_Schema->maxLength( $value ): self;
- $value(int) (required)
- Maximum length.
String_Schema::maxLength() String Schema::maxLength code WC 10.3.6
public function maxLength( int $value ): self {
return $this->update_schema_property( 'maxLength', $value );
}