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