Automattic\WooCommerce\EmailEditor\Validator
Schema::optional
Unsets the required property.
Method of the class: Schema{}
No Hooks.
Returns
static.
Usage
$Schema = new Schema(); $Schema->optional();
Schema::optional() Schema::optional code WC 10.7.0
public function optional() {
return $this->unset_schema_property( 'required' );
}