WP_REST_Request::offsetSet

Advertisement

Summery Summery

Sets a parameter on the request.

Syntax Syntax

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

Parameters Parameters

$offset

(Required) Parameter name.

$value

(Required) Parameter value.

Source Source

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

	 * @return mixed|null Value if set, null otherwise.
	 */
	public function offsetGet( $offset ) {

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply