WP_HTTP_Proxy::authentication
Retrieve authentication string for proxy authentication.
Method of the class: WP_HTTP_Proxy{}
No Hooks.
Returns
String.
Usage
$WP_HTTP_Proxy = new WP_HTTP_Proxy(); $WP_HTTP_Proxy->authentication();
Changelog
| Since 2.8.0 | Introduced. |
WP_HTTP_Proxy::authentication() WP HTTP Proxy::authentication code WP 6.9.1
public function authentication() {
return $this->username() . ':' . $this->password();
}