Uses
| Uses | Description |
|---|---|
| wp-includes/class-wp-http-proxy.php: WP_HTTP_Proxy::username() | Retrieve the username for proxy authentication. |
| wp-includes/class-wp-http-proxy.php: WP_HTTP_Proxy::password() | Retrieve the password for proxy authentication. |
Retrieve authentication string for proxy authentication.
(string)
File: wp-includes/class-wp-http-proxy.php
public function authentication() {
return $this->username() . ':' . $this->password();
} | Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_proxy/authentication