WP_REST_Users_Controller::__construct

Advertisement

Summery Summery

Constructor.

Syntax Syntax

WP_REST_Users_Controller::__construct()

Source Source

File: wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

	public function __construct() {
		$this->namespace = 'wp/v2';
		$this->rest_base = 'users';

		$this->meta = new WP_REST_User_Meta_Fields();
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.