WP_REST_Request::offsetSet( string $offset, mixed $value )

Sets a parameter on the request.


Parameters

$offset

(Required) Parameter name.

$value

(Required) Parameter value.


Source

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

	public function offsetSet( $offset, $value ) {
		$this->set_param( $offset, $value );
	}


Changelog

Changelog
Version Description
WP-4.4.0 Introduced.