=== Advanced Addons, Theme & Core Exporter ===
Contributors: solankisoftware
Donate link: https://paypal.me/kirtikumar89
Tags: plugin export, theme export, wordpress core export, backup, migration
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Download installed plugins, themes, and WordPress core files directly from your dashboard. Ideal for backups, migration, and development.

== Description ==

**Advanced Addons, Theme & Core Exporter** is a powerful administrative tool that allows you to export and download:

- Installed plugins  
- Installed themes  
- WordPress core files  
- Database (SQL)  

All exports are generated as **clean ZIP archives**, making this plugin ideal for:

- Website migration  
- Local development setup  
- Backup before updates  
- Manual plugin or theme version archiving  
- WordPress debugging and testing  

Simply navigate to **Tools → Advanced Addons, Theme & Core Exporter** and download what you need with a single click.

The plugin supports **ZipArchive** and automatically falls back to **WordPress PclZip**, ensuring compatibility across all hosting environments.

---

## 🚀 Features

### 🔌 Export Installed Plugins
- View all active and inactive plugins  
- Displays plugin version, size, and main file  
- One-click ZIP download for each plugin  
- Download button available on the Plugins screen  

### 🎨 Export Installed Themes
- Export active and inactive themes  
- Shows theme version, folder name, and size  
- One-click ZIP download  
- Download button available on the Themes screen  

### 🧩 Export WordPress Core Files
Choose exactly what you want to export:

- **Complete WordPress Files** (Excludes `wp-config.php` for security)
- **Core Folders Only**: `wp-admin`, `wp-includes`, root files
- **Uploads Folder** (`wp-content/uploads`)
- **wp-content Only (excluding uploads)`
- **wp-admin Only**
- **wp-includes Only**

### 🗄 Database Export
- Export the complete WordPress database as a `.sql` file  

### 📦 Combined ZIP Export
- Select multiple core options  
- Generate **one combined ZIP archive** containing all selected items  

### 🔐 Security & Compatibility
- Admin-only access (`manage_options`)  
- Nonce-protected download actions  
- Respects WordPress file permissions  
- Automatically excludes sensitive configuration files  

### 🖥 Clean Admin Interface
- Native WordPress-style UI  
- Clear tables with plugin and theme details  
- Simple, fast, and reliable workflow  

---

== Usage ==

Navigate to:

**Tools → Advanced Addons, Theme & Core Exporter**

You will find three main sections:

### 1️⃣ Installed Plugins
- Plugin name, version, and size  
- Click **Download** to export as ZIP  

### 2️⃣ Installed Themes
- Theme version, folder name, and size  
- Click **Download** for instant ZIP export  

### 3️⃣ WordPress Core Export
- Select one or more export options  
- Click **Download** or **Create & Download Combined ZIP**  

---

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin from the **Plugins** menu
3. Go to **Tools → Advanced Addons, Theme & Core Exporter**
4. Export plugins, themes, core files, or database as needed

---

== Frequently Asked Questions ==

= Does this plugin export plugins and themes as ZIP files? =
Yes. Each plugin and theme is exported as a clean ZIP archive.

= Can I export the WordPress database? =
Yes. Enable the **Download Full Database** option to export a `.sql` file.

= Can I create a single ZIP with multiple folders? =
Yes. Select multiple options and click **Create & Download Combined ZIP**.

= What if ZipArchive is not available on my server? =
The plugin automatically falls back to **WordPress PclZip**.

= Are sensitive files included? =
No. For security reasons, `wp-config.php` is excluded by default.

= Who can access this plugin? =
Only administrators with the `manage_options` capability.

---

== Screenshots ==

1. Advanced Addons, Theme & Core Exporter main page  
2. Plugins screen with Download button  
3. Themes screen with Download button  

---

== Changelog ==

= 1.0.1 =
* AJAX-based export process instead of full page reload
* Faster and smoother plugin, theme, and core downloads
* Minor UI improvements
* Bug fixes and improved compatibility

= 1.0.0 =
* Initial release
* Export installed plugins with version and size
* Export installed themes with template details
* WordPress core export options
* Full database export (SQL)
* Combined ZIP export
* ZipArchive with automatic PclZip fallback
* Clean and user-friendly admin interface

---

== Upgrade Notice ==

= 1.0.1 =
AJAX-based download added for a smoother export experience.

= 1.0.0 =
First stable release with complete plugin, theme, core, and database export functionality.

== Credits ==

Developed by [Kirtikumar Solanki](https://profiles.wordpress.org/solankisoftware/).  
Donations welcome via [PayPal](https://paypal.me/kirtikumar89).
