WP_HTTP_Proxy::host

Advertisement

Summery Summery

Retrieve the host for the proxy server.

Syntax Syntax

WP_HTTP_Proxy::host()

Return Return

(string)

Source Source

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

	public function host() {
		if ( defined( 'WP_PROXY_HOST' ) ) {
			return WP_PROXY_HOST;
		}

		return '';
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply