Requests::get_certificate_path()

Get default certificate path.


Description Description


Return Return

(string) Default certificate path.


Top ↑

Source Source

File: wp-includes/class-requests.php

	public static function get_certificate_path() {
		if ( ! empty( Requests::$certificate_path ) ) {
			return Requests::$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.