Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



rest_request_parameter_order ›

Seit4.4.0
Veraltetn/v
apply_filters( 'rest_request_parameter_order', $order, $this )
Parameter: (3)
  • (array) $order { An array of types to check, in order of priority.
    Erforderlich: Ja
  • (string) $type The type to check. }
    Erforderlich: Ja
  • (WP_REST_Request) $this The request object.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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