WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_request_parameter_order

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/class-wp-rest-request.php apply_filters 385 /**
* 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.
*
* @since 4.4.0
*
* @param string[] $order Array of types to check, in order of priority.
* @param WP_REST_Request $request The request object.
*/

Hook Parameters

Parameter Type Name Description
string[] $order Array of types to check, in order of priority.
WP_REST_Request $request The request object.