Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php

WC_REST_Setting_Options_V2_Controller::is_setting_type_valid()

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

Used by 2 functions | Uses 0 functions

WC_REST_Setting_Options_V2_Controller::get_item_schema()

Method: Get the settings schema, conforming to JSON Schema.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:498

Used by 0 functions | Uses 0 functions

WC_REST_Setting_Options_V2_Controller::filter_setting()

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

Used by 2 functions | Uses 1 function

WC_REST_Setting_Options_V2_Controller::cast_image_width()

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

Used by 1 function | Uses 0 functions

WC_REST_Setting_Options_V2_Controller::allowed_setting_keys()

Method: Callback for allowed keys for each setting response.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:449

Used by 0 functions | Uses 0 functions

WC_REST_Setting_Options_V2_Controller::get_items()

Method: Return all settings in a group.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:130

Used by 0 functions | Uses 3 functions

WC_REST_Setting_Options_V2_Controller::get_group_settings()

Method: Get all settings in a group.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:157

Used by 2 functions | Uses 5 functions

WC_REST_Setting_Options_V2_Controller::get_countries_and_states()

Method: Returns a list of countries and states for use in the base location setting.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:202

Used by 1 function | Uses 1 function

WC_REST_Setting_Options_V2_Controller::get_setting()

Method: Get setting data.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:232

Used by 3 functions | Uses 2 functions

WC_REST_Setting_Options_V2_Controller::batch_items()

Method: Bulk create, update and delete items.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php:265

Used by 0 functions | Uses 1 function
1 2 Next »
Proudly powered by WordPress