W3cubDocs

/WordPress

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( Requests::$certificate_path ) ) {
			return Requests::$certificate_path;
		}

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

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