WP_HTTP_Proxy::username(): string

In this article

Retrieve the username for proxy authentication.

Return

string

Source

public function username() {
	if ( defined( 'WP_PROXY_USERNAME' ) ) {
		return WP_PROXY_USERNAME;
	}

	return '';
}

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.