Requests::get_certificate_path() public WP 1.0
Get default certificate path.
{} It's a method of the class: Requests{}
No Hooks.
Return
String
. Default certificate path.
Usage
$result = Requests::get_certificate_path();
Code of Requests::get_certificate_path() Requests::get certificate path WP 5.7
public static function get_certificate_path() {
if ( ! empty( Requests::$certificate_path ) ) {
return Requests::$certificate_path;
}
return dirname(__FILE__) . '/Requests/Transport/cacert.pem';
}