WP_REST_Widgets_Controller::__construct
Widgets controller constructor.
Метод класса: WP_REST_Widgets_Controller{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WP_REST_Widgets_Controller = new WP_REST_Widgets_Controller(); $WP_REST_Widgets_Controller->__construct();
Список изменений
| С версии 5.8.0 | Введена. |
Код WP_REST_Widgets_Controller::__construct() WP REST Widgets Controller:: construct WP 7.1.2
public function __construct() {
$this->namespace = 'wp/v2';
$this->rest_base = 'widgets';
}