Requests_Session::__set() WordPress Method

The Requests_Session::__set() method is used to set an option for a WordPress session. The option can be any valid option for a WordPress session, such as the name, ID, or email address.

Requests_Session::__set( string $key, mixed $value ) #

Set a property’s value


Parameters

$key

(string)(Required)Property key

$value

(mixed)(Required)Property value


Top ↑

Source

File: wp-includes/Requests/Session.php

	public function __set($key, $value) {
		$this->options[$key] = $value;
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.