WP_HTTP_Proxy::port() public WP 2.8.0
Retrieve the port for the proxy server.
{} Это метод класса: WP_HTTP_Proxy{}
Хуков нет.
Возвращает
Строку
. Ничего.
Использование
$WP_HTTP_Proxy = new WP_HTTP_Proxy(); $WP_HTTP_Proxy->port();
Список изменений
С версии 2.8.0 | Введена. |
Код WP_HTTP_Proxy::port() WP HTTP Proxy::port WP 5.7.1
public function port() {
if ( defined( 'WP_PROXY_PORT' ) ) {
return WP_PROXY_PORT;
}
return '';
}