I <3 WP CLI. Delete all inactive plugins using WP-CLI:

wp plugin delete $(wp plugin list –field=name –format=csv –status=inactive)

Comments

Leave a Reply

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