Automattic\WooCommerce\EmailEditor\Validator
Schema::update_schema_property
Updates the schema property.
Method of the class: Schema{}
No Hooks.
Returns
static.
Usage
// protected - for code of main (parent) or child class $result = $this->update_schema_property( $name, $value );
- $name(string) (required)
- Property name.
- $value(mixed) (required)
- Property value.
Schema::update_schema_property() Schema::update schema property code WC 10.6.2
protected function update_schema_property( string $name, $value ) {
$clone = clone $this;
$clone->schema[ $name ] = $value;
return $clone;
}