WP_Filesystem_FTPext::__destruct()
Destructor.
Method of the class: WP_Filesystem_FTPext{}
No Hooks.
Return
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.7.2
public function __destruct() { if ( $this->link ) { ftp_close( $this->link ); } }