WP_HTTP_Proxy::password() WordPress Method
The WP_HTTP_Proxy::password() function is used to set the password for a proxy server. This is used in conjunction with the WP_HTTP_Proxy::username() function.
WP_HTTP_Proxy::password() #
Retrieve the password for proxy authentication.
Return
(string)
Source
File: wp-includes/class-wp-http-proxy.php
public function password() { if ( defined( 'WP_PROXY_PASSWORD' ) ) { return WP_PROXY_PASSWORD; } return ''; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |