=== AI Data Remover – HTML Cleanup for AI & Page Builders === Contributors: sofrustrate, bigbadagency 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.0.2 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 can unlock: - Additional post types (including WooCommerce products, if enabled) - Select-all checkbox - Larger scanning & bulk limits - Export tools (e.g., CSV) - Advanced workflow improvements The Pro add-on is optional. The free plugin remains 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. Main scanner — pick content type, scan mode, and date range. 2. Scan results across Posts with match counts per item. 3. Scan results across Pages — bulk-select to remove markers. --- == Changelog == = 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.0.1 = Compatibility improvements and cleaner admin loading.