Requests::set_certificate_path() WordPress Method
The Requests::set_certificate_path() method is used to set the path to the SSL certificate. This is useful if you need to use a self-signed certificate or a certificate that is not in the standard path.
Requests::set_certificate_path( string $path ) #
Set default certificate path.
Contents
Parameters
- $path
(string)(Required)Certificate path, pointing to a PEM file.
Source
File: wp-includes/class-requests.php
public static function set_certificate_path($path) { self::$certificate_path = $path; }
Expand full source codeCollapse full source codeView on TracView on GitHub