WordPress at Your Fingertips
filter is not described

rest_request_parameter_order filter-hook . WP 4.4.0

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.


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

	return $order;
Array of types to check, in order of priority.
The request object.


Since 4.4.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.