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

(string) (Required) Parameter name.

$value

(mixed) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.