Automattic\WooCommerce\Internal\Admin\Settings
SettingsUISchema::canonicalize_schema_values
Canonicalize typed field values and compatibility metadata.
This additive entry point preserves canonicalize_option_values() for existing callers while letting request resolution issue one aggregate compatibility notice for the complete native-provider pass.
Method of the class: SettingsUISchema{}
No Hooks.
Returns
array. Canonicalized schema.
Usage
$result = SettingsUISchema::canonicalize_schema_values( $schema ): array;
- $schema(array) (required)
- Settings UI schema.
Changelog
| Since 11.2.0 | Introduced. |
SettingsUISchema::canonicalize_schema_values() SettingsUISchema::canonicalize schema values code WC 11.2.1
public static function canonicalize_schema_values( array $schema ): array {
return self::canonicalize_schema_values_for_source( $schema, false );
}