=== inCOD Bulk Taxonomy Remove ===
Contributors: incod,ideagrafica
Tags: bulk edit, taxonomy, categories, sections, remove terms
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Easily remove specific taxonomies (categories, tags, custom taxonomies) from posts, products, and CPTs directly from the Bulk Edit screen.

== Description ==

**inCOD Bulk Taxonomy Remove** extends the native WordPress Bulk Edit screen with granular taxonomy actions.

Standard Bulk Edit only adds terms. This plugin lets you choose how selected taxonomy terms are applied to multiple posts at once:

* **Add terms** – native WordPress behaviour (default)
* **Remove selected terms** – subtract the checked terms from every selected item
* **Replace all terms** – keep only the checked terms; all other terms are removed

Works with:

* Posts and Pages
* Categories, Tags, and custom hierarchical / non-hierarchical taxonomies
* WooCommerce products (`product_cat`, `product_tag`, `product_shipping_class`, and `pa_*` attributes)
* Custom Post Types

Security:

* Nonce verification (`icbtr_bulk_edit_nonce`) on every bulk update
* Capability checks (`edit_others_posts` / `edit_posts`) before any change
* Sanitization with `absint()` and `sanitize_key()`

== Installation ==

1. Upload the `incod-bulk-taxonomy-remove` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Open any list screen (Posts, Products, CPTs), select items, choose **Edit** from Bulk Actions, then **Apply**.
4. Pick the taxonomy action (Add / Remove / Replace), select terms, and click **Update**.

== Frequently Asked Questions ==

= Does this change how WordPress Bulk Edit works by default? =

No. The default mode is **Add terms**, which matches native WordPress behaviour.

= Does it work with WooCommerce products? =

Yes. Product categories, tags, shipping classes, and global attribute taxonomies (`pa_*`) are supported.

= Is my request verified? =

Yes. Every bulk update verifies the `icbtr_bulk_edit_nonce` nonce and the required capabilities before modifying terms.

= Which taxonomies are supported? =

Any taxonomy shown in Quick Edit / Bulk Edit for the current post type, including custom taxonomies registered by themes and plugins.

== Changelog ==

= 1.0.0 =
* Initial release.
* Add / Remove / Replace modes in the Bulk Edit screen.
* Full support for Posts, Pages, CPTs, and WooCommerce product taxonomies.
* Nonce and capability checks on all bulk taxonomy operations.
