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