WP_REST_Plugins_Controller::__construct() public WP 5.5.0
Plugins controller constructor.
{} Это метод класса: WP_REST_Plugins_Controller{}
Хуков нет.
Возвращает
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 5.7.1
public function __construct() {
$this->namespace = 'wp/v2';
$this->rest_base = 'plugins';
}