Automattic\WooCommerce\EmailEditor\Validator\Schema

String_Schema::formatEmailpublicWC 1.0

Set the format of the string according to email.

Method of the class: String_Schema{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

String_Schema::formatEmail() code WC 10.6.2

public function formatEmail(): self {
	return $this->update_schema_property( 'format', 'email' );
}