WpOrg\Requests
Requests::get_default_options()
Get the default options
Method of the class: Requests{}
No Hooks.
Return
Array
. Default option values
Usage
$result = Requests::get_default_options( $multirequest );
- $multirequest(true|false)
- Is this a multirequest?
Default: false
Notes
- See: \WpOrg\Requests[Requests::request()](/function/Requests::request) for values returned by this method
Requests::get_default_options() Requests::get default options code WP 6.6.2
protected static function get_default_options($multirequest = false) { $defaults = static::OPTION_DEFAULTS; $defaults['verify'] = self::$certificate_path; if ($multirequest !== false) { $defaults['complete'] = null; } return $defaults; }