WC_REST_General_Settings_V4_Controller::get_update_args
Get update arguments for the endpoint.
Method of the class: WC_REST_General_Settings_V4_Controller{}
No Hooks.
Returns
Array.
Usage
// private - for code of main (parent) class only $result = $this->get_update_args();
WC_REST_General_Settings_V4_Controller::get_update_args() WC REST General Settings V4 Controller::get update args code WC 10.3.6
private function get_update_args() {
$args = array(
'values' => array(
'description' => __( 'Flat key-value mapping of setting field values to update.', 'woocommerce' ),
'type' => 'object',
'required' => false,
'additionalProperties' => array(
'description' => __( 'Setting field value.', 'woocommerce' ),
'type' => array( 'string', 'number', 'array', 'boolean' ),
),
),
);
return $args;
}