Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/faisalahammed044274/delete-all-products-without-trashing/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
🧪 How to Use:
-
Create a folder: /wp-content/plugins/delete-all-products/
-
Inside it, create the file: delete-all-products.php
-
Paste the code above into that file
-
Go to your WordPress Admin → Plugins → Activate Delete All WooCommerce Products
-
You’ll now see a “Delete Products” menu item in the sidebar with a trash icon 🗑️ → Click it → Confirm → Boom 💥