WP_REST_Request::offsetUnset

Advertisement

Summery Summery

Removes a parameter from the request.

Syntax Syntax

WP_REST_Request::offsetUnset( string $offset )

Parameters Parameters

$offset

(Required) Parameter name.

Source Source

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

	 * @param string $offset Parameter name.
	 * @param mixed  $value  Parameter value.
	 */
	public function offsetSet( $offset, $value ) {
		$this->set_param( $offset, $value );
	}

	/**

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply