WP_REST_Global_Styles_Controller::__construct()
Constructor.
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
.
View all references
public function __construct() {
$this->namespace = 'wp/v2';
$this->rest_base = 'global-styles';
$this->post_type = 'wp_global_styles';
}
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |