Requests::get_certificate_path()public staticWP 1.0

Get default certificate path.

Метод класса: Requests{}

No Hooks.

Return

String. Default certificate path.

Usage

$result = Requests::get_certificate_path();

Код Requests::get_certificate_path() WP 6.1.1

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

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