wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_request_parameter_order › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( 'rest_request_parameter_order', $order, $this )
Parametry: (2)
  • () order Array of types to check, in order of priority.
    Wymagane: Tak
  • () request The request object.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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