Skip to content

Commit 3c223c6

Browse files
Regenerate README file (#244)
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
1 parent 1d86009 commit 3c223c6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ registered are kept by default because they cannot be regenerated; use
252252
Regenerates thumbnails for one or more attachments.
253253

254254
~~~
255-
wp media regenerate [<attachment-id>...] [--image_size=<image_size>...] [--skip-delete] [--only-missing] [--delete-unknown] [--yes]
255+
wp media regenerate [<attachment-id>...] [--image_size=<image_size>...] [--skip-delete] [--only-missing] [--delete-unknown] [--update-attachment-refs] [--yes]
256256
~~~
257257

258258
**OPTIONS**
@@ -272,6 +272,9 @@ wp media regenerate [<attachment-id>...] [--image_size=<image_size>...] [--skip-
272272
[--delete-unknown]
273273
Only delete thumbnails for old unregistered image sizes.
274274

275+
[--update-attachment-refs]
276+
Update references to regenerated thumbnails in post content.
277+
275278
[--yes]
276279
Answer yes to the confirmation message. Confirmation only shows when no IDs passed as arguments.
277280

0 commit comments

Comments
 (0)