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