Requests_Session::__get() WordPress Method
The WordPress Requests_Session::__get() method is used to retrieve a value from a property of the Requests_Session class. The value retrieved can be of any type, including an object, array, or string.
Requests_Session::__get( string $key ) #
Get a property’s value
Contents
Parameters
- $key
(string)(Required)Property key
Return
(mixed|null) Property value, null if none found
Source
File: wp-includes/Requests/Session.php
public function __get($key) { if (isset($this->options[$key])) { return $this->options[$key]; } return null; }
Expand full source codeCollapse full source codeView on TracView on GitHub