WC_REST_V4_Controller::get_base_schema
Get the base schema for the API.
Method of the class: WC_REST_V4_Controller{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_base_schema();
WC_REST_V4_Controller::get_base_schema() WC REST V4 Controller::get base schema code WC 10.3.6
protected function get_base_schema() {
return array(
'$schema' => 'http://json-schema.org/draft-04/schema#',
'title' => 'base',
'type' => 'object',
'properties' => array(),
);
}