Requests_Session::get() WordPress Method
The Requests_Session::get() method is used to send a GET request to a specified Wordpress site. This method takes two arguments: the first is the URL of the Wordpress site, and the second is an array of data that will be used in the request. The data array can contain information such as the username and password for the Wordpress site. This method will return a response object that contains the response from the Wordpress site. The response object can be used to get the status code of the response, the headers, and the body of the response.
Requests_Session::get( $url, $headers = array(), $options = array() ) #
Send a GET request
Source
File: wp-includes/Requests/Session.php
public function get($url, $headers = array(), $options = array()) { return $this->request($url, $headers, null, Requests::GET, $options); }
Expand full source codeCollapse full source codeView on TracView on GitHub