Summery Summery
Retrieve the port for the proxy server.
Syntax Syntax
Return Return
(string)
Source Source
File: wp-includes/class-wp-http-proxy.php
public function port() {
if ( defined( 'WP_PROXY_PORT' ) ) {
return WP_PROXY_PORT;
}
return '';
}
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |