WP_REST_Menu_Locations_Controller::get_collection_params() – Retrieves the query params for collections.
You appear to be a bot. Output may be restricted
Description
Retrieves the query params for collections.
Usage
$array = WP_REST_Menu_Locations_Controller::get_collection_params();
Parameters
Returns
array Collection parameters.
Source
File name: wordpress/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php
Lines:
1 to 5 of 5
public function get_collection_params() { return array( 'context' => $this->get_context_param( array( 'default' => 'view' ) ), ); }