GC_Filesystem_Base::move()

最后更新于:2021-11-27 16:57:24

GC_Filesystem_Base::move( string$source, string$destination, bool$overwrite=false)

Moves a file.

参数

$source

(string) (Required) Path to the source file.

$destination

(string) (Required) Path to the destination file.

$overwrite

(bool) (Optional) Whether to overwrite the destination file if it exists.

Default value: false

响应

(bool) True on success, false on failure.

源文件

文件: gc-admin/includes/class-gc-filesystem-base.php

	public function move( $source, $destination, $overwrite = false ) {
		return false;
	}