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
Contents
Parameters
- $key
(string)(Required)Property key
- $value
(mixed)(Required)Property value
Source
File: wp-includes/Requests/Session.php
public function __set($key, $value) { $this->options[$key] = $value; }
Expand full source codeCollapse full source codeView on TracView on GitHub