WordPress at a glance
filter is not described

rest_request_parameter_order filter-hook . WP 4.4.0

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.


add_filter( 'rest_request_parameter_order', 'filter_function_name_8135', 10, 2 );
function filter_function_name_8135( $order, $this ){
	// filter...

	return $order;

An array of types to check, in order of priority.

  • $type (string)
    The type to check.
The request object.

Where the hook is called

wp-includes/rest-api/class-wp-rest-request.php 375
return apply_filters( 'rest_request_parameter_order', $order, $this );

Where the hook is used (in WP core)

Does not used.