WpOrg\Requests
Session::get()
Send a GET request
Method of the class: Session{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Session = new Session(); $Session->get( $url, $headers, $options );
- $url (required)
- -
- $headers **
- -
Default: [] - $options **
- -
Default: []
Session::get() Session::get code WP 6.6.2
public function get($url, $headers = [], $options = []) { return $this->request($url, $headers, null, Requests::GET, $options); }