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);
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.