WP_REST_Global_Styles_Controller::get_collection_params() WordPress Method
The WP_REST_Global_Styles_Controller::get_collection_params() method is used to get the parameters needed for the WP_REST_Global_Styles_Controller::get_items() method.
WP_REST_Global_Styles_Controller::get_collection_params() #
Retrieves the query params for the global styles collection.
Return
(array) Collection parameters.
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
public function get_collection_params() { return array(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |