WP_REST_Users_Controller::__construct
Constructor.
Метод класса: WP_REST_Users_Controller{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WP_REST_Users_Controller = new WP_REST_Users_Controller(); $WP_REST_Users_Controller->__construct();
Список изменений
С версии 4.7.0 | Введена. |
Код WP_REST_Users_Controller::__construct() WP REST Users Controller:: construct WP 6.8.2
public function __construct() { $this->namespace = 'wp/v2'; $this->rest_base = 'users'; $this->meta = new WP_REST_User_Meta_Fields(); }