WP_HTTP_Proxy::password()publicWP 2.8.0

Retrieve the password for proxy authentication.

Method of the class: WP_HTTP_Proxy{}

No Hooks.

Return

String.

Usage

$WP_HTTP_Proxy = new WP_HTTP_Proxy();
$WP_HTTP_Proxy->password();

Changelog

Since 2.8.0 Introduced.

WP_HTTP_Proxy::password() code WP 6.8

public function password() {
	if ( defined( 'WP_PROXY_PASSWORD' ) ) {
		return WP_PROXY_PASSWORD;
	}

	return '';
}