A WordPress-centric search engine for devs and theme authors



rest_request_parameter_order ›

Since4.4.0
Deprecatedn/a
apply_filters( 'rest_request_parameter_order', $order, $this )
Parameters: (3)
  • (array) $order { An array of types to check, in order of priority.
    Required: Yes
  • (string) $type The type to check. }
    Required: Yes
  • (WP_REST_Request) $this The request object.
    Required: Yes
Defined at:
Codex:

Filters the parameter order.

The order affects which parameters are checked when using get_param() and family. This acts similarly to PHP's request_order setting.





Source

return apply_filters( 'rest_request_parameter_order', $order, $this );