Requests::get_certificate_path()

Get default certificate path.

Return

(string) Default certificate path.

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

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests/get_certificate_path