WP_HTTP_Proxy::username

Advertisement

Summery Summery

Retrieve the username for proxy authentication.

Syntax Syntax

WP_HTTP_Proxy::username()

Return Return

(string)

Source Source

File: wp-includes/class-wp-http-proxy.php

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

		return '';
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply