Reinstall all WordPress plugins and themes using WP CLI

Reinstall plugins

wp plugin install $(wp plugin list --field=name) --force

Reinstall themes

wp theme install $(wp theme list --field=name) --force

Source

Leave a Reply

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

Markdown is allowed in comments.