WpOrg\Requests

Requests::get()public staticWP 1.0

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() code WP 6.6.2

public static function get($url, $headers = [], $options = []) {
	return self::request($url, $headers, null, self::GET, $options);
}