Requests::get_certificate_path()

Get default certificate path.


Return Return

(string) Default certificate path.


Top ↑

Source 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';
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.