WP_HTTP_Proxy::use_authentication

Advertisement

Summery Summery

Whether authentication should be used.

Syntax Syntax

WP_HTTP_Proxy::use_authentication()

Return Return

(bool)

Source Source

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

	public function use_authentication() {
		return defined( 'WP_PROXY_USERNAME' ) && defined( 'WP_PROXY_PASSWORD' );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply