WP_Filesystem_FTPext::__destruct
Destructor.
Method of the class: WP_Filesystem_FTPext{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Filesystem_FTPext = new WP_Filesystem_FTPext(); $WP_Filesystem_FTPext->__destruct();
Changelog
| Since 2.5.0 | Introduced. |
WP_Filesystem_FTPext::__destruct() WP Filesystem FTPext:: destruct code WP 6.9.1
public function __destruct() {
if ( $this->link ) {
ftp_close( $this->link );
}
}