WP_Filesystem_Direct::__construct │ public │ WP 2.5.0

Constructor.

Метод класса: WP_Filesystem_Direct{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$WP_Filesystem_Direct = new WP_Filesystem_Direct();
$WP_Filesystem_Direct->__construct( $arg );
$arg(разное) (обязательный)
Not used.

Список изменений

С версии 2.5.0 Введена.

Код WP_Filesystem_Direct::__construct() WP 7.1.3

public function __construct( $arg ) {
	// The $arg parameter is required for signature parity with the other transports, but is unused here.
	unset( $arg );
	$this->method = 'direct';
	$this->errors = new WP_Error();
}