WP_Filesystem_ftpsockets::__destruct() WordPress Method
The WP_Filesystem_ftpsockets::__destruct() function is used to clean up after the WP_Filesystem_ftpsockets class. This function is called when the class is no longer needed.
WP_Filesystem_ftpsockets::__destruct() #
Destructor.
Source
File: wp-admin/includes/class-wp-filesystem-ftpsockets.php
public function __destruct() {
$this->ftp->quit();
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |