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



rest_request_parameter_order › WordPress Filter Hooks

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





Quellcode

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