Created
June 4, 2018 13:21
-
-
Save MjHead/c0e4f46c4667c6070e31f8691ca8f6c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'init', 'finscore_plugins_wizard_config', 9 ); | |
add_action( 'init', 'finscore_data_importer_config', 9 ); | |
/** | |
* Register Jet Plugins Wizards config | |
*/ | |
function finscore_plugins_wizard_config() { | |
if ( ! is_admin() ) { | |
return; | |
} | |
if ( ! function_exists( 'jet_plugins_wizard_register_config' ) ) { | |
return; | |
} | |
include get_theme_file_path( 'tm-wizard-manifest.php' ); | |
jet_plugins_wizard_register_config( array( | |
'license' => array( 'enabled' => false ), | |
'plugins' => $plugins, | |
'skins' => $skins, | |
'texts' => $texts, | |
) ); | |
} | |
/** | |
* Register Jet Data Importer config | |
*/ | |
function finscore_data_importer_config() { | |
if ( ! is_admin() ) { | |
return; | |
} | |
if ( ! function_exists( 'jet_data_importer_register_config' ) ) { | |
return; | |
} | |
include get_theme_file_path( 'cherry-import-manifest.php' ); | |
jet_data_importer_register_config( $settings ); | |
} |
Author
MjHead
commented
Jun 4, 2018
•
- in tm-wizard-manifest.php
- in inc/register-plugins.php
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment