WpOrg\Requests

Requests::options()public staticWP 1.0

Send an OPTIONS request

Method of the class: Requests{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Requests::options( $url, $headers, $data, $options );
$url (required)
-
$headers **
-
Default: []
$data **
-
Default: []
$options **
-
Default: []

Requests::options() code WP 6.6.2

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