wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_request_parameter_order › WordPress Filter Hooks
Since4.4.0
Deprecatedn/a
› apply_filters( 'rest_request_parameter_order', $order, $this )
Parameters: (2) |
|
Defined at: | |
Codex: |
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.
Related Functions: rest_parse_request_arg, rest_validate_request_arg, rest_get_best_type_for_value, rest_sanitize_request_arg, rest_do_request, rest_api_register_rewrites