function motopressCEInit()
{
    global $motopressCESettings;
    wp_register_style('mpce-style', $motopressCESettings['plugin_dir_url'] . 'includes/css/style.css', array(), $motopressCESettings['plugin_version']);
    wp_register_script('mpce-detect-browser', $motopressCESettings['plugin_dir_url'] . 'mp/core/detectBrowser/detectBrowser.js', array(), $motopressCESettings['plugin_version']);
    wp_enqueue_script('mpce-detect-browser');
    //new MPCEAutoUpdate($motopressCESettings['plugin_version'], $motopressCESettings['update_url'], $motopressCESettings['plugin_name'].'/'.$motopressCESettings['plugin_name'].'.php');
    //add_action('in_plugin_update_message-'.$motopressCESettings['plugin_name'].'/'.$motopressCESettings['plugin_name'].'.php', 'motopressCEAddUpgradeMessageLink', 20, 2);
    $isDisableUpdater = apply_filters('mpce_disable_updater', false);
    if (!$isDisableUpdater) {
        new EDD_MPCE_Plugin_Updater($motopressCESettings['edd_mpce_store_url'], __FILE__, array('version' => $motopressCESettings['plugin_version'], 'license' => get_option('edd_mpce_license_key'), 'item_name' => $motopressCESettings['edd_mpce_item_name'], 'author' => $motopressCESettings['plugin_author']));
    }
    motopressCERegisterHtmlAttributes();
    if (!is_array(get_option('motopress_google_font_classes'))) {
        add_action('admin_notices', 'motopress_google_font_not_writable_notice');
        $fontClasses = array('opensans' => array('family' => 'Open Sans', 'variants' => array('300', 'regular', '700')));
        saveGoogleFontClasses($fontClasses);
    }
}
function motopressCEInit()
{
    global $motopressCESettings;
    wp_register_style('mpce-style', plugin_dir_url(__FILE__) . 'includes/css/style.css', array(), $motopressCESettings['plugin_version']);
    wp_register_script('mpce-detect-browser', plugin_dir_url(__FILE__) . 'mp/core/detectBrowser/detectBrowser.js', array(), $motopressCESettings['plugin_version']);
    wp_enqueue_script('mpce-detect-browser');
    //new MPCEAutoUpdate($motopressCESettings['plugin_version'], $motopressCESettings['update_url'], $motopressCESettings['plugin_name'].'/'.$motopressCESettings['plugin_name'].'.php');
    //add_action('in_plugin_update_message-'.$motopressCESettings['plugin_name'].'/'.$motopressCESettings['plugin_name'].'.php', 'motopressCEAddUpgradeMessageLink', 20, 2);
    new EDD_MPCE_Plugin_Updater($motopressCESettings['edd_mpce_store_url'], __FILE__, array('version' => $motopressCESettings['plugin_version'], 'license' => get_option('edd_mpce_license_key'), 'item_name' => $motopressCESettings['edd_mpce_item_name'], 'author' => $motopressCESettings['plugin_author']));
    motopressCERegisterHtmlAttributes();
}