Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbe9bb5

Browse files
swissspidyCopilot
andauthored
Update src/Media_Command.php
Co-authored-by: Copilot <[email protected]>
1 parent 85968f3 commit dbe9bb5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Media_Command.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,13 @@ public function regenerate( $args, $assoc_args = array() ) {
216216
*
217217
* [--skip-copy]
218218
* : If set, media files (local only) are imported to the library but not moved on disk.
219-
* File names will not be run through wp_unique_filename() with this set.
219+
* File names will not be run through wp_unique_filename() with this set. When used, files
220+
* will remain at their current location and will not be copied into any destination directory.
220221
*
221222
* [--destdir=<destdir>]
222223
* : Path to specific directory where to upload imported files.
223-
* Can be absolute or relative to ABSPATH.
224+
* Can be absolute or relative to ABSPATH. Ignored when used together with --skip-copy, as
225+
* files are not moved on disk in that case.
224226
*
225227
* [--preserve-filetime]
226228
* : Use the file modified time as the post published & modified dates.

0 commit comments

Comments
 (0)