WP_Filesystem_FTPext::__destruct() – Destructor.

You appear to be a bot. Output may be restricted

Description

Destructor.

Usage

WP_Filesystem_FTPext::__destruct();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php
Lines:

1 to 5 of 5
  public function __destruct() {
    if ( $this->link ) {
      ftp_close( $this->link );
    }
  }
 

 View on GitHub View on Trac