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

ftp_base::__construct() public WP 1.0

Это метод класса: ftp_base{}

Хуков нет.

Возвращает

Null. Ничего.

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

$ftp_base = new ftp_base();
$ftp_base->__construct( $port_mode, $verb, $le );

Код ftp_base::__construct() WP 5.5.1

wp-admin/includes/class-ftp.php
<?php
function __construct($port_mode=FALSE, $verb=FALSE, $le=FALSE) {
	$this->LocalEcho=$le;
	$this->Verbose=$verb;
	$this->_lastaction=NULL;
	$this->_error_array=array();
	$this->_eol_code=array(FTP_OS_Unix=>"\n", FTP_OS_Mac=>"\r", FTP_OS_Windows=>"\r\n");
	$this->AuthorizedTransferMode=array(FTP_AUTOASCII, FTP_ASCII, FTP_BINARY);
	$this->OS_FullName=array(FTP_OS_Unix => 'UNIX', FTP_OS_Windows => 'WINDOWS', FTP_OS_Mac => 'MACOS');
	$this->AutoAsciiExt=array("ASP","BAT","C","CPP","CSS","CSV","JS","H","HTM","HTML","SHTML","INI","LOG","PHP3","PHTML","PL","PERL","SH","SQL","TXT");
	$this->_port_available=($port_mode==TRUE);
	$this->SendMSG("Staring FTP client class".($this->_port_available?"":" without PORT mode support"));
	$this->_connected=FALSE;
	$this->_ready=FALSE;
	$this->_can_restore=FALSE;
	$this->_code=0;
	$this->_message="";
	$this->_ftp_buff_size=4096;
	$this->_curtype=NULL;
	$this->SetUmask(0022);
	$this->SetType(FTP_AUTOASCII);
	$this->SetTimeout(30);
	$this->Passive(!$this->_port_available);
	$this->_login="anonymous";
	$this->_password="anon@ftp.com";
	$this->_features=array();
    $this->OS_local=FTP_OS_Unix;
	$this->OS_remote=FTP_OS_Unix;
	$this->features=array();
	if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') $this->OS_local=FTP_OS_Windows;
	elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'MAC') $this->OS_local=FTP_OS_Mac;
}