WP_HTTP_Proxy::is_enabled()

Whether proxy connection should be used.


Return Return

(bool)


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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