WP_HTTP_Proxy::is_enabled

Advertisement

Summery Summery

Whether proxy connection should be used.

Syntax Syntax

WP_HTTP_Proxy::is_enabled()

Return Return

(bool)

Source Source

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

	public function is_enabled() {
		return defined( 'WP_PROXY_HOST' ) && defined( 'WP_PROXY_PORT' );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply