WP_HTTP_Proxy::use_authentication()

Whether authentication should be used.


Description Description


Return Return

(bool)


Top ↑

Source Source

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

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

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.