Automattic\WooCommerce\EmailEditor\Validator\Schema

String_Schema::formatIppublicWC 1.0

Set the format of the string according to IP address.

Method of the class: String_Schema{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

String_Schema::formatIp() code WC 10.5.0

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