WP_REST_Request::offsetUnset

Advertisement

Summery Summery

Removes a parameter from the request.

Syntax Syntax

WP_REST_Request::offsetUnset( string $offset )

Parameters Parameters

$offset

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

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