Automattic\WooCommerce\EmailEditor\Validator\Schema

String_Schema::formatEmailpublicWC 1.0

Set the format of the string according to email.

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

Хуков нет.

Возвращает

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

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

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

Код String_Schema::formatEmail() WC 10.0.2

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