=== Customizer Export/Import ===
Contributors: justinbusa
Tags: customizer, customizer export, customizer import, export, import, settings, customizer settings, theme settings, theme options
Requires at least: 3.6
Tested up to: 4.1
Stable tag: trunk
License: GPL2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Easily export or import your WordPress customizer settings!

== Description ==

= Customizer Export/Import =

The Customizer Export/Import plugin allows you to export or import your WordPress customizer settings from directly within the customizer interface! If your theme makes use of the WordPress customizer for its settings, this plugin is for you!

Please visit our blog for more info on the [Customizer Export/Import plugin](https://www.wpbeaverbuilder.com/wordpress-customizer-export-import-plugin/?utm_source=external&utm_medium=wp-repo&utm_campaign=customizer-export-description).

= How It Works =

Exporting customizer settings is easy. Click the export button from within the customizer and a file will automatically begin downloading with your settings. Export files are named after your theme and can only be used to import settings for the theme or child theme that they came from. Export files contain a serialized dump of mods retrieved using the [get_theme_mods](http://codex.wordpress.org/Function_Reference/get_theme_mods) function.

Importing customizer settings is just as easy. Choose the export file you would like to import, select whether you would like to download and import images (similar to importing posts), and finally, click the import button. Once your settings have been imported the page will refresh and your new design will be displayed.

= Exporting Custom Options =

Some plugins or themes may create controls that don't store their settings as theme mods and instead store them in the WordPress options table. These settings can also be exported and imported by adding your option key to the array of options that will be exported as shown below.

    function my_export_option_keys( $keys ) {
        $keys[] = 'my_option_key';
        $keys[] = 'another_option_key';
        return $keys;
    }

    add_filter( 'cei_export_option_keys', 'my_export_option_keys' );

= Contribute! =

We'd love to hear your feedback as to how we could improve the Customizer Export/Import plugin, or better yet, see theme developers actively contribute! Don't hesitate to let us know if you're interested in contributing as we would gladly have others on board.

The Customizer Export/Import plugin is brought to you by the fine folks at [Beaver Builder](https://www.wpbeaverbuilder.com/?utm_source=external&utm_medium=wp-repo&utm_campaign=customizer-export-description).

== Installation ==

1. Install the Customizer Export/Import plugin either via the WordPress plugin directory, or by uploading the files to your server at wp-content/plugins.

2. After activating, the export/import functionality will be available as a separate section within the WordPress customizer.

== Frequently Asked Questions ==

Please visit our blog for more info on the [Customizer Export/Import plugin](https://www.wpbeaverbuilder.com/wordpress-customizer-export-import-plugin/?utm_source=external&utm_medium=wp-repo&utm_campaign=customizer-export-faq).

== Screenshots ==

1. The export/import customizer section.

== Changelog ==

= Version 0.1 =

- Initial release.

= Version 0.2 =

- Added cei_export_option_keys filter for exporting custom options.
