WpOrg\Requests\Proxy

Http::get_auth_string()publicWP 1.6

Get the authentication string (user:pass)

Method of the class: Http{}

No Hooks.

Return

String.

Usage

$Http = new Http();
$Http->get_auth_string();

Changelog

Since 1.6 Introduced.

Http::get_auth_string() code WP 6.6.2

public function get_auth_string() {
	return $this->user . ':' . $this->pass;
}