WordPress at Your Fingertips
function is not described

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() WP 5.8.2

public static function get_certificate_path() {
	if (!empty(self::$certificate_path)) {
		return self::$certificate_path;
	}

	return dirname(__FILE__) . '/Requests/Transport/cacert.pem';
}