WP_REST_Global_Styles_Controller::get_collection_params()publicWP 5.9.0

Retrieves the query params for the global styles collection.

{} It's a method of the class: WP_REST_Global_Styles_Controller{}

No Hooks.

Return

Array. Collection parameters.

Usage

$WP_REST_Global_Styles_Controller = new WP_REST_Global_Styles_Controller();
$WP_REST_Global_Styles_Controller->get_collection_params();

Changelog

Since 5.9.0 Introduced.

Code of WP_REST_Global_Styles_Controller::get_collection_params() WP 6.0

public function get_collection_params() {
	return array();
}