On this page
WP_HTTP_Proxy::username(): string
Retrieve the username for proxy authentication.
Return
string
Source
File: wp-includes/class-wp-http-proxy.php. View all references
public function username() {
if ( defined( 'WP_PROXY_USERNAME' ) ) {
return WP_PROXY_USERNAME;
}
return '';
}
Related
Used By
| Used By | Description |
|---|---|
| WP_HTTP_Proxy::authentication() wp-includes/class-wp-http-proxy.php | Retrieve authentication string for proxy authentication. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_proxy/username