apply_filters( 'rest_request_parameter_order', array $order , WP_REST_Request $this )
Filters the parameter order.
Description
The order affects which parameters are checked when using get_param() and family. This acts similarly to PHP’s request_order
setting.
Parameters
- $order
-
(array) An array of types to check, in order of priority. @param string $type The type to check.
- $this
-
(WP_REST_Request) The request object.
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | Introduced. |