Filters the parameter priority order for a REST API request.
The order affects which parameters are checked when using WP_REST_Request::get_param() and family. This acts similarly to PHP’s request_order setting.
$orderstring[]
$requestWP_REST_Request
return apply_filters( 'rest_request_parameter_order', $order, $this );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_request_parameter_order