WC_REST_V4_Controller::get_base_schema
Get the base schema for the API.
Метод класса: WC_REST_V4_Controller{}
Хуков нет.
Возвращает
array.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_base_schema();
Код WC_REST_V4_Controller::get_base_schema() WC REST V4 Controller::get base schema WC 11.2.2
protected function get_base_schema() {
return array(
'$schema' => 'http://json-schema.org/draft-04/schema#',
'title' => 'base',
'type' => 'object',
'properties' => array(),
);
}