‚1.7‘, // current version number
‚license‘ => $license_key, // license key (used get_option above to retrieve from DB)
‚item_name‘ => EDD_SAMPLE_ITEM_NAME, // name of this plugin
‚author‘ => ‚neusued media UG‘ // author of this plugin
)
);

}
add_action( ‚admin_init‘, ‚edd_sl_sample_plugin_updater‘ );

/********************************
* SHORTCODES
*********************************/
include_once(‚mobilede-main.php‘);
include_once(‚shortcodes.php‘);

if(file_exists(‚LayerSlider/layerslider.php‘)){
include_once(‚LayerSlider/layerslider.php‘);
}

if (wp_get_schedule(‚mob_periodic_event_hook‘) === false){
wp_schedule_event(time(), ‚hourly‘, ‚mob_periodic_event_hook‘);
}

register_activation_hook(__FILE__, ‚mob_facetwp_indexer_activation‘);
add_action(‚mob_facetwp_reindex_hook‘, ‚mob_reindex_facetwp207′);

function mob_facetwp_indexer_activation() {
wp_schedule_event(time(), ‚hourly‘, ‚mob_facetwp_reindex_hook‘);
}

function mob_reindex_facetwp207() {
FWP()->indexer->index();
}

register_deactivation_hook(__FILE__, ‚mob_facetwp_indexer_deactivation‘);

function mob_facetwp_indexer_deactivation() {
wp_clear_scheduled_hook(‚mob_facetwp_reindex_hook‘);
}