Requests::set_certificate_path( string|WpOrgRequestsStringable|bool $path )
Set default certificate path.
Parameters
- $path
-
(Required) Certificate path, pointing to a PEM file.
Source
File: wp-includes/Requests/src/Requests.php
public static function set_certificate_path($path) {
if (InputValidator::is_string_or_stringable($path) === false && is_bool($path) === false) {
throw InvalidArgument::create(1, '$path', 'string|Stringable|bool', gettype($path));
}
self::$certificate_path = $path;
}