WP_REST_Global_Styles_Revisions_Controller::__construct()

In this article

Constructor.

Source

public function __construct() {
	$this->parent_post_type = 'wp_global_styles';
	$this->rest_base        = 'revisions';
	$this->parent_base      = 'global-styles';
	$this->namespace        = 'wp/v2';
}

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

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