Skip to content

Instantly share code, notes, and snippets.

@nielslange

nielslange/.bash

Created Apr 6, 2019
Embed
What would you like to do?
Regenerate images using WP-CLI
wp media regenerate --image_size=course_archive_thumbnail --yes
wp media regenerate --image_size=course_single_thumbnail --yes
wp media regenerate --image_size=lesson_archive_thumbnail --yes
wp media regenerate --image_size=lesson_single_thumbnail --yes
wp media regenerate --image_size=portfolio_horizontal --yes
wp media regenerate --image_size=portfolio_slider --yes
wp media regenerate --image_size=portfolio_vertical --yes
wp media regenerate --image_size=shop_catalog --yes
wp media regenerate --image_size=shop_thumbnail --yes
wp media regenerate --image_size=woocommerce_gallery_thumbnail --yes
wp media regenerate --image_size=woocommerce_single --yes
wp media regenerate --image_size=woocommerce_thumbnail --yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.