=== AI Data Remover - HTML Cleanup for AI & Page Builders === Contributors: sofrustrate Tags: ai, html cleanup, seo, elementor, page builder Requires at least: 6.0 Tested up to: 7.0 Requires PHP: 7.4 Stable tag: 1.1.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Remove unwanted data-* attributes from WordPress content after AI writing tools and page builders bloat your HTML. == Description == **AI Data Remover** helps you clean up messy HTML that often appears after using: - AI writing tools that paste "extra attributes" - Elementor and other page builders - Copy/paste from external sources (Docs, web pages, editors) - Imported content that carries junk markup Many of these tools add `data-*` attributes that make HTML heavier and harder to maintain. This plugin scans your content and lets you bulk remove unwanted `data-*="..."` attributes safely from selected content types. ### What it does - Scans content for `data-*="..."` attributes - Shows how many matches are found per item - Lets you bulk remove selected items (you choose what gets updated) - Optionally target: - **All** data-* attributes - A **specific** data attribute (example: `data-id`, `data-source`, etc.) ### What it does NOT do - It does not change your theme files - It does not modify CSS/JS - It does not "auto-optimize" your entire site without your approval - It only updates content when you click to apply changes ### Safety & best practice This plugin modifies post content when you run a cleanup. We strongly recommend taking a backup before bulk updates on large sites. --- == Free version == The free version includes the core cleanup workflow: - Scan **Posts** and **Pages** - Scan up to **500** items per post type - Bulk remove up to **25** items per run The free version is not time-limited. --- == Optional Pro add-on == For larger sites and store catalogs, the optional Pro add-on unlocks (every Pro feature is gated on a valid BigBad Agency license - nothing unlocks on activation alone): - Additional post types - scan WooCommerce products and any public custom post type, not just Posts and Pages - Master Select-All checkbox to tick every visible row at once - CSV export of scan results (ID, title, type, status, match count, edit URL) - Unlimited scan window and bulk removal - no 500-item scan cap and no 25-item per-run cap - Up to 200 rows per page The Pro add-on is optional. The free plugin remains fully functional on its own. --- == Installation == 1. Upload the plugin folder to `/wp-content/plugins/` (or install via Plugins -> Add New) 2. Activate **AI Data Remover** 3. In wp-admin, open **AI Data Remover** 4. Choose what to scan and click **Scan** 5. Select items and click **Remove Selected** --- == Frequently Asked Questions == = Will this break my layout? = In most cases, removing `data-*` attributes does not affect layout. However, some builders or custom scripts *could* rely on specific attributes. We recommend testing on a staging site first if you use custom front-end scripts. = Does it remove all HTML tags? = No. It targets `data-*="..."` attributes only. = Can I target just one attribute? = Yes. You can scan for all `data-*` attributes or specify a single one. = Does it work with WooCommerce products? = The free plugin focuses on Posts and Pages. The optional Pro add-on can enable additional post types (including products) depending on your setup. = Does it collect or transmit my content? = No. The cleanup runs inside your WordPress admin. Your content is not sent to third parties. --- == Screenshots == 1. The Cleaner - scan Posts, pick All or a specific data-* attribute, and see a per-item match count for every post. 2. The Cleaner scanning Pages - bulk-select the items you want and click Remove Selected. 3. How It Works - a plain-English breakdown of each feature and exactly what the optional Pro add-on adds. 4. Getting Started - a four-step first-run guide, including the strong recommendation to back up before a bulk cleanup. --- == Changelog == = 1.1.1 - 2026-09-30 = * Removed incorrect trial offer; upgrade notice now links to the plugin's page. * The Pro notice now shows only on the Plugins screen and this plugin's own admin pages, and stays dismissed once dismissed. * Fix: in-plugin Pro links pointed at a retired page; they now open the plugin's page on bigbad.agency. = 1.1.0 - 2026-07-23 = * New: **Getting Started** admin page with a step-by-step first-run guide and backup reminder. * New: **How It Works** admin page explaining each feature and exactly what the optional Pro add-on adds. * New: a dismissible Pro notice for admins (hidden once Pro is active). No Pro code ships in the free plugin. * Docs: readme Pro section now lists the exact Pro features (removed the vague "advanced workflow improvements" line). * No changes to the core scan/removal engine. = 1.0.2 - 2026-05-21 = * Compatibility bump. Re-verified against current WordPress release. * No functional changes. = 1.0.1 = * Improved admin asset loading * Compatibility improvements (prefixing and safer loading) = 1.0.0 = * Initial release --- == Upgrade Notice == = 1.1.1 = Removes an incorrect trial offer from the Pro notice and fixes Pro links. No changes to how the plugin works; safe upgrade. = 1.1.0 = Adds Getting Started and How It Works admin pages. No changes to the cleanup engine; safe upgrade. = 1.0.1 = Compatibility improvements and cleaner admin loading.