Summery Summery
Retrieves merged parameters from the request.
Syntax Syntax
Description Description
The equivalent of get_param(), but returns all parameters for the request. Handles merging all the available values into a single array.
Return Return
(array) Map of key to value.
Source Source
File: wp-includes/rest-api/class-wp-rest-request.php
$this->params[ $order[0] ][ $key ] = $value; } } /** * Retrieves merged parameters from the request. * * The equivalent of get_param(), but returns all parameters for the request. * Handles merging all the available values into a single array. * * @since 4.4.0 * * @return array Map of key to value. */ public function get_params() {
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |