WP_Filesystem_ftpsockets::__destruct()publicWP 2.5.0

Destructor.

Method of the class: WP_Filesystem_ftpsockets{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Filesystem_ftpsockets = new WP_Filesystem_ftpsockets();
$WP_Filesystem_ftpsockets->__destruct();

Changelog

Since 2.5.0 Introduced.

WP_Filesystem_ftpsockets::__destruct() code WP 6.6.2

public function __destruct() {
	$this->ftp->quit();
}