Categories
WordPress

Regenerate thumbnails with WP-CLI

You can easily regenerate thumbnails with WP-CLI, just type $ wp media regenerate --yes in the command line.

The --yes flag answers yes to the confirmation message.

WP-CLI documentation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.