WP_HTTP_Proxy::port()

Retrieve the port for the proxy server.


Description Description


Return Return

(string)


Top ↑

Source Source

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

	public function port() {
		if ( defined( 'WP_PROXY_PORT' ) ) {
			return WP_PROXY_PORT;
		}

		return '';
	}

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.