WordPress at a glance
function is not described

Requests::options() public WP 1.0

Send an OPTIONS request

{} It's a method of the class: Requests{}

No Hooks.

Return

````. Null. Nothing.

Usage

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

Code of Requests::options() WP 5.7

<?php
public static function options($url, $headers = array(), $data = array(), $options = array()) {
	return self::request($url, $headers, $data, self::OPTIONS, $options);
}