WP_REST_Sidebars_Controller::__construct()

Sidebars controller constructor.

Source

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

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

Changelog

Version Description
5.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_sidebars_controller/__construct