rest_request_parameter_order

Advertisement

Summery Summery

Filters the parameter order.

Syntax Syntax

apply_filters( 'rest_request_parameter_order', string[] $order, WP_REST_Request $this )

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 of types to check, in order of priority.

$this

The request object.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply