WP_REST_Global_Styles_Controller::__construct( string $post_type = ‘wp_global_styles’ )

In this article

Constructor.

Parameters

$post_typestringoptional
Post type.

Default:'wp_global_styles'

Source

public function __construct( $post_type = 'wp_global_styles' ) {
	parent::__construct( $post_type );
}

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

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