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';
}


Top ↑

Changelog

Changelog
Version Description
5.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.