apply_filters( 'rest_request_parameter_order', array $order, string $type, WP_REST_Request $this )

Filters the parameter order.


Description Description

The order affects which parameters are checked when using get_param() and family. This acts similarly to PHP’s request_order setting.


Parameters Parameters

$order

(array) An array of types to check, in order of priority

$type

(string) The type to check. }

$this

(WP_REST_Request) The request object.


Top ↑

Source Source

File: wp-includes/rest-api/class-wp-rest-request.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.