WP_REST_Plugins_Controller::__construct()

Plugins controller constructor.


Source

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

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


Changelog

Changelog
Version Description
5.5.0 Introduced.