customizer-export-import
Last commit date
classes
7 years ago
css
7 years ago
includes
7 years ago
js
7 years ago
README.md
7 years ago
customizer-export-import.php
7 years ago
readme.txt
7 years ago
customizer-export-import.php
26 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: Customizer Export/Import |
| 4 | * Plugin URI: http://www.wpbeaverbuilder.com/wordpress-customizer-export-import-plugin/?utm_source=external&utm_medium=customizer-export&utm_campaign=plugins-page |
| 5 | * Description: Adds settings export and import functionality to the WordPress customizer. |
| 6 | * Version: 0.9 |
| 7 | * Author: The Beaver Builder Team |
| 8 | * Author URI: http://www.wpbeaverbuilder.com/?utm_source=external&utm_medium=customizer-export&utm_campaign=plugins-page |
| 9 | * License: GNU General Public License v2.0 |
| 10 | * License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | * Text Domain: customizer-export-import |
| 12 | */ |
| 13 | define( 'CEI_VERSION', '0.9' ); |
| 14 | define( 'CEI_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); |
| 15 | define( 'CEI_PLUGIN_URL', plugins_url( '/', __FILE__ ) ); |
| 16 | |
| 17 | /* Classes */ |
| 18 | require_once CEI_PLUGIN_DIR . 'classes/class-cei-core.php'; |
| 19 | |
| 20 | /* Actions */ |
| 21 | add_action( 'plugins_loaded', 'CEI_Core::load_plugin_textdomain' ); |
| 22 | add_action( 'customize_controls_print_scripts', 'CEI_Core::controls_print_scripts' ); |
| 23 | add_action( 'customize_controls_enqueue_scripts', 'CEI_Core::controls_enqueue_scripts' ); |
| 24 | add_action( 'customize_register', 'CEI_Core::init', 999999 ); |
| 25 | add_action( 'customize_register', 'CEI_Core::register' ); |
| 26 |