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_4388', 10, 2 );
function filter_function_name_4388( $order, $type ){
	// filter...

	return $order;
An array of types to check, in order of priority.
The type to check. }


Since 4.4.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!