1. Home
  2. Wp-cli
  3. Regenerate thumbnails

Regenerate all thumbnail image sizes stored in the media library. The --yes flag confirms your choice.

#wordpress#cli
wp media regenerate --yes
copy
Full Wp-cli cheatsheet