Requests::get_certificate_path() WordPress Method
The Requests::get_certificate_path() method is used to get the path to the SSL certificate for the specified domain. This is useful for making sure that your website is using a valid SSL certificate.
Requests::get_certificate_path() #
Get default certificate path.
Return
(string) Default certificate path.
Source
File: wp-includes/class-requests.php
public static function get_certificate_path() { if (!empty(self::$certificate_path)) { return self::$certificate_path; } return dirname(__FILE__) . '/Requests/Transport/cacert.pem'; }
Expand full source codeCollapse full source codeView on TracView on GitHub