Requests::options() WordPress Method
The Requests::options() method is used to retrieve the list of available options for the current Wordpress installation. This is useful for retrieving information about the current theme, plugins, and other settings.
Requests::options( $url, $headers = array(), $data = array(), $options = array() ) #
Send an OPTIONS request
Source
File: wp-includes/class-requests.php
public static function options($url, $headers = array(), $data = array(), $options = array()) { return self::request($url, $headers, $data, self::OPTIONS, $options); }
Expand full source codeCollapse full source codeView on TracView on GitHub