Method: Filters out bad values from the settings array/filter so we only return known values via the API.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:405
Method: For image_width, Crop can return “0” instead of false — so we want to make sure we return these consistently the same we accept them.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:431
Method: Callback for allowed keys for each setting response.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:449
Method: Boolean for if a setting type is a valid supported setting type.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:473
Method: Get the settings schema, conforming to JSON Schema.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:498
Method: Get setting data.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:232
Method: Bulk create, update and delete items.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:265
Method: Update a single setting in a group.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:292
Method: Prepare a single setting object for response.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:335
Method: Prepare links for the request.
Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:353