Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_request_parameter_order ›

Desde4.4.0
Obsoleton/a
apply_filters( 'rest_request_parameter_order', $order, $this )
Parâmetros: (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
Definido em:
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.





Fonte

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