MailPoet\EmailEditor\Validator\Schema

String_Schema::formatHexColor()publicWC 1.0

Set the format of the string according to Hex color.

Method of the class: String_Schema{}

No Hooks.

Return

null. Nothing (null).

Usage

$String_Schema = new String_Schema();
$String_Schema->formatHexColor(): self;

String_Schema::formatHexColor() code WC 9.8.2

public function formatHexColor(): self {
	return $this->update_schema_property( 'format', 'hex-color' );
}