WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

IXR_Client::__construct() WP 1.0

PHP5 constructor.

Это метод класса: IXR_Client

Хуков нет.

Возвращает

Ничего (null).

Использование

$IXR_Client = new IXR_Client();
$var = $IXR_Client->__construct( $server, $path, $port, $timeout );

Код IXR Client:: construct: wp-includes/IXR/class-IXR-client.php WP 5.2

<?php
function __construct( $server, $path = false, $port = 80, $timeout = 15 )
{
    if (!$path) {
        // Assume we have been given a URL instead
        $bits = parse_url($server);
        $this->server = $bits['host'];
        $this->port = isset($bits['port']) ? $bits['port'] : 80;
        $this->path = isset($bits['path']) ? $bits['path'] : '/';

        // Make absolutely sure we have a path
        if (!$this->path) {
            $this->path = '/';
        }

        if ( ! empty( $bits['query'] ) ) {
            $this->path .= '?' . $bits['query'];
        }
    } else {
        $this->server = $server;
        $this->path = $path;
        $this->port = $port;
    }
    $this->useragent = 'The Incutio XML-RPC PHP Library';
    $this->timeout = $timeout;
}