WP_HTTP_Proxy::host()

Retrieve the host for the proxy server.


Description


Return

(string)


Top ↑

Source

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

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

		return '';
	}

Top ↑

Changelog

Version Description
2.8.0 Introduced.