WP_Filesystem_SSH2::move( string $source, string $destination, bool $overwrite = false )
Parameters
- $source
-
(Required)
- $destination
-
(Required)
- $overwrite
-
(Optional)
Default value: false
Return
(bool)
Source
File: wp-admin/includes/class-wp-filesystem-ssh2.php
public function move($source, $destination, $overwrite = false) {
return @ssh2_sftp_rename( $this->sftp_link, $source, $destination );
}