=== Extension Info Exporter ===
Contributors: dvpatel, nakulchandra, dallaswebagencyus
Donate link: https://buymeacoffee.com/dvpatel
Tags: Export plugin details, Plugin data export, CSV generator, Plugin inventory, Data export
Description: Professional WordPress plugin export tool for plugin inventory management, plugin audit reports, and plugin data export. Export plugin details in CSV, JSON, TXT, XML, PDF formats with advanced filtering, custom filenames, and modern interface. Essential for WordPress developers, agencies, and site administrators.
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.0
Stable tag: 5.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Professional WordPress plugin export tool for plugin inventory management and audit reports.

== Description ==

**Extension Info Exporter 5.1** is the ultimate WordPress plugin management and export tool! This powerful plugin revolutionizes how you handle plugin data with its comprehensive export capabilities and modern interface. Perfect for WordPress plugin inventory management, plugin audit reports, and plugin data export tasks.

**Why Choose Extension Info Exporter?**

**Complete Plugin Management**: Export detailed information about all installed plugins in 5 different formats (CSV, JSON, TXT, XML, PDF)

**Advanced Filtering**: Choose exactly what you need - export all plugins, only active ones, inactive plugins, or just those needing updates

**Beautiful Modern UI**: Experience a sleek, responsive interface with Outfit font and intuitive design

**Smart Filename Templates**: Use dynamic variables like {date}, {site_name}, {export_type} to create organized, meaningful filenames

**Lightning Fast**: Optimized performance with no bloat - get your exports in seconds

**Enterprise Security**: Built with WordPress security best practices including nonce verification and data sanitization

Whether you're performing WordPress plugin audits, managing multiple client sites, creating comprehensive plugin reports, or maintaining detailed plugin inventories, Extension Info Exporter 5.1 provides everything you need for professional plugin management and data export.

== Features ==

**Core Export Capabilities**
- **5 Export Formats**: CSV (default), JSON, TXT (tab-delimited), XML, and PDF
- **Advanced Filtering**: All Plugins, Active Only, Inactive Only, Needs Update
- **Smart Field Selection**: Choose exactly which plugin data fields to include
- **Custom Filename Templates**: Dynamic variables {date}, {time}, {site_name}, {export_type}, {format}

**Modern User Experience**
- **Beautiful Interface**: Clean, responsive design with card-based layout
- **Live Filename Preview**: See your filename before exporting
- **Outfit Font**: Modern premium typography for better readability
- **Responsive Design**: Works perfectly on all screen sizes

**Advanced Functionality**
- **Plugin Status Detection**: Real-time active/inactive status
- **Update Detection**: Automatic identification of outdated plugins
- **Compatibility Data**: WordPress & PHP version requirements
- **Must-Use Plugin Support**: Export MU plugins when needed
- **Bulk Export**: Handle hundreds of plugins efficiently

**Security & Performance**
- **WordPress Security**: Nonce verification and data sanitization
- **Lightweight**: No bloat, no tracking, optimized performance
- **Error Handling**: Graceful error management and user feedback
- **Memory Efficient**: Optimized for large plugin inventories

== Privacy & Data Collection ==

**Your Privacy Matters**

This plugin respects your privacy and operates with full transparency:

*   **No Automatic Data Collection** – The plugin does not collect or transmit any data without your explicit consent
*   **Opt-In Telemetry** – You can optionally enable anonymous usage tracking from the plugin settings to help improve the plugin
*   **Deactivation Feedback** – When deactivating, you can choose to share feedback to help us improve. This is completely optional
*   **Encrypted Transmission** – All data sent (if you opt-in) is encrypted using AES-256-CBC encryption for security
*   **No Personal Content** – We never collect your post content, user passwords, or sensitive information

**What We Collect (Only if you opt-in):**
*   Plugin version and settings
*   WordPress and PHP versions
*   Theme information
*   Site language and multisite status
*   Anonymous site URL (for duplicate detection only)

== Deactivation Feedback ==

When you deactivate the plugin, a feedback modal appears asking for your reason. This helps us improve the plugin:

*   **Completely Optional** – You can skip and deactivate immediately
*   **Contact Consent** – Check the consent box only if you want us to follow up with support
*   **Your Choice** – Your name and email are only sent if you check the consent checkbox
*   **Secure** – All feedback is encrypted before transmission

== How To Use ==

1. **Install & Activate**: Install the plugin and activate it from your WordPress admin
2. **Configure Fields**: Go to "Extension Info Exporter" in your admin menu
3. **Select Fields**: Choose which plugin data fields you want to export
4. **Choose Export Type**: Select from All Plugins, Active Only, Inactive Only, or Needs Update
5. **Pick Format**: Choose your preferred export format (CSV, JSON, TXT, XML, PDF)
6. **Customize Filename**: Use variables like {date}, {site_name} for dynamic filenames
7. **Export**: Click "Export Plugins Details" to download your file

http://www.youtube.com/watch?v=o8Jo4lBPZtU

== List of Exportable Fields ==

You can choose to include any of the following fields in your export:

1. **Plugin Name (always included)**
2. Plugin Version
3. Latest Available Version
4. Plugin Slug
5. Plugin Author
6. Author URL
7. Needs Update
8. Active/Inactive Status
9. Requires WordPress Version
10. Compatible up to WordPress Version
11. Requires PHP Version

== This plugin is ideal for ==

- WordPress agencies managing multiple client sites
- Freelancers documenting WordPress site setups
- WordPress developers creating plugin audits and checklists
- Website owners tracking plugin updates and security
- Plugin inventory management and reporting
- WordPress plugin data export and analysis

No setup needed — install, configure your export settings, and download in your preferred format.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to 'Extension Info Exporter' in the WordPress admin menu.
4. Configure your export settings:
   - Select which fields to export
   - Choose export type (All, Active, Inactive, or Needs Update)
   - Pick your preferred format (CSV, JSON, TXT, XML, PDF)
   - Customize filename template if desired
5. Click 'Export Plugins Details' to download your file.

== Frequently Asked Questions ==

= How do I export plugin data? =
After installing and activating the plugin, go to the "Extension Info Exporter" page in your WordPress admin panel. Select the fields you want to export, choose your export type and format, then click the "Export Plugins Details" button. Your file will be downloaded in the selected format.

= What export formats are available? =
The plugin supports multiple formats: CSV (default), JSON, TXT (tab-delimited), XML, and PDF. Choose the format that best suits your needs.

= What export types can I choose from? =
You can export:
- All Plugins (default)
- Only Active Plugins
- Only Inactive Plugins  
- Only Plugins That Need Updates

= Can I customize the filename? =
Yes! Use variables in your filename template: {date}, {time}, {site_name}, {export_type}, {format}. Example: "my-plugins-{date}.csv" becomes "my-plugins-2025-01-15.csv".

= What fields can I export? =
You can export the following fields:
- Plugin Name (always included)
- Plugin Version
- Latest Available Version
- Plugin Slug
- Plugin Author
- Author URL
- Needs Update
- Active/Inactive Status
- Requires WordPress Version
- Compatible up to WordPress Version
- Requires PHP Version

= Does the plugin automatically check for updates? =
Yes, it uses WordPress's native functions to check if an installed plugin has an update available.

= What security options are included? =
The plugin implements security best practices including nonce verification, proper sanitization, and secure data handling for all export processes.

= Do you collect any data automatically? =
No. By default, the plugin does not collect any data. We only collect anonymous diagnostic data if you explicitly opt-in via the settings page. 

= What happens when I deactivate the plugin? =
You will see an optional feedback popup where you can share why you're leaving to help us improve. You can easily click "Skip & Deactivate" if you do not wish to provide feedback.

== Changelog ==

= 5.1 =
* **FIX**: Addressed telemetry opt-out behavior to ensure strictly no data is sent when a user declines diagnostic tracking.
* **FIX**: Resolved PHP CodeSniffer escaping (wp_unslash) warnings for WordPress plugin review compliance.
* **IMPROVEMENT**: Updated branding assets and modernized logo.

= 5.0 =
* **MAJOR VERSION UPDATE**: PDF export, HTML email reports, dashboard stats, and scheduled exports
* **NEW**: PDF export format with professional table layouts, dynamic Portrait/Landscape orientation, and adaptive font scaling
* **NEW**: Professional HTML email templates for test and scheduled export notifications
* **NEW**: Dashboard stats overview cards (Total, Active, Inactive, Needs Update, MU plugins)
* **NEW**: Automated scheduled email exports via WP-Cron (Daily, Weekly, Monthly)
* **NEW**: AJAX auto-save for export field selections with toast notifications
* **NEW**: Settings shortcut link in the Plugins list page
* **NEW**: Automatic redirect to settings page on plugin activation
* **NEW**: Send Test Email Now button for instant email verification
* **NEW**: Interactive doughnut chart visualization for plugin statistics
* **NEW**: Outfit premium font integration (local, GDPR-compliant)
* **IMPROVED**: Full inline CSS elimination and separation into external stylesheet
* **IMPROVED**: WordPress PHPCS compliance with proper escaping, nonces, and translators comments

= 4.0 =
* **MAJOR VERSION UPDATE**: Complete UI overhaul and enhanced functionality
* **NEW**: Multiple export formats (CSV, JSON, TXT, XML, PDF)
* **NEW**: Advanced export filtering (All, Active, Inactive, Needs Update)
* **NEW**: Custom filename templates with dynamic variables
* **NEW**: Modern interface with card-based responsive design
* **NEW**: Poppins font integration
* **NEW**: Live filename preview and enhanced form validation
* **IMPROVED**: Better security, performance, and user experience

= 3.2 =
* Readme File Update

= 3.1 =
* Compatible with WordPress 6.8

= 2.2 =
* Adds "Sr. Number" as the first column.
* Update Security.

= 2.1 =
* Improved settings page and validation.
* Enhanced export functionality for better CSV generation.
* wordpress 6.7 compatibility check

= 2.0 =
* Improved settings page and validation.
* Enhanced export functionality for better CSV generation.
* wordpress 6.7 compatibility check

= 1.2 =
* Added options to export Requires WordPress Version, Compatible up to WordPress version, and Requires PHP Version fields.

= 1.1 =
* Added the ability to check and export the Active/Inactive status of plugins.
* Implemented enhanced security options for data export.

== Upgrade Notice ==

= 5.1 =
* **MINOR UPDATE**: Bug fixes related to telemetry tracking and PHPCS validation.

= 5.0 =
* **MAJOR VERSION UPDATE**: PDF export, HTML email reports, dashboard stats, scheduled exports, and premium Outfit typography. Essential upgrade for all users!

= 4.0 =
* **MAJOR VERSION UPDATE**: Complete UI overhaul with modern design, enhanced functionality, and improved user experience. Essential upgrade for all users!

= 3.2 =
* Readme File Update

= 3.1 =
* Compatible with WordPress 6.8

= 2.2 =
* Adds "Sr. Number" as the first column.

= 2.1 =
* Improved export functionality with additional fields and validations.

= 2.0 =
* Improved export functionality with additional fields and validations.

= 1.2 =
* Added options to export Requires WordPress Version, Compatible up to WordPress version, and Requires PHP Version fields.

= 1.1 =
* Added the ability to check and export the Active/Inactive status of plugins and implemented enhanced security options for data export.

= 1.0.2 =
* Update Security.

= 1.0.0 =
First release of the plugin.

== Credits ==

**Third-Party Libraries & Resources:**

- **Outfit Font**: Google Fonts - https://fonts.google.com/specimen/Outfit
  - Licensed under Open Font License
  - Used for modern premium typography and improved readability


**Special Thanks:**
- WordPress community for the amazing platform
- All contributors and testers who helped improve this plugin

== License ==

This plugin is licensed under the GPLv2 or later.

== Screenshots ==

1. **Dashboard Overview** – Modern dashboard with real-time stats cards (Total, Active, Inactive, Needs Update, MU Plugins) and interactive doughnut chart
2. **Export Fields Selection** – Choose which plugin data fields to export with instant AJAX auto-save and toast notifications
3. **Export Settings** – Configure export type, format (CSV, JSON, TXT, XML, PDF), and customize filename with dynamic variables and live preview
4. **Scheduled Email Exports** – Set up automated email backups with flexible frequency (Daily, Weekly, Monthly) and Send Test Email Now button
5. **PDF Report** – Professional PDF export with dynamic Portrait/Landscape orientation, proportional column widths, and elegant table formatting
6. **HTML Email Report** – Beautifully designed email notification with summary stats, export metadata, and direct settings link