";
print_r($license_information, TRUE);
print "";
$domain = $_SERVER['HTTP_HOST'];
$error = "false";
$plugin_data = get_plugin_data( __FILE__ );
$versions = array (
"PHP" => (float)phpversion(),
"Wordpress" => get_bloginfo('version'),
"WooCommerce" => WC()->version,
"WooCommerce Product Feed PRO" => WOOCOMMERCESEA_PLUGIN_VERSION
);
// When license has not been checked yet
if(empty($license_information['message'])){
$license_information['message'] = "You did not purchase a license for our Elite features yet. The structured data fix feature and adding of extra Google Shopping fields to your store can be enabled if you upgrade. Please purchase a license key on AdTribes.io when you would like to use the Elite features.";
$license_information['message_type'] = "notice notice-info is-dismissible";
$license_information['license_key'] = "";
$license_information['license_email'] = "";
}
/**
* Create notification object and get message and message type as WooCommerce is inactive
* also set variable allowed on 0 to disable submit button on step 1 of configuration
*/
$notifications_obj = new WooSEA_Get_Admin_Notifications;
if (!in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
$notifications_box = $notifications_obj->get_admin_notifications ( '9', 'false' );
} else {
$notifications_box = $notifications_obj->get_admin_notifications ( '14', 'false' );
}
if ($versions['PHP'] < 5.6){
$notifications_box = $notifications_obj->get_admin_notifications ( '11', 'false' );
}
if ($versions['WooCommerce'] < 3){
$notifications_box = $notifications_obj->get_admin_notifications ( '13', 'false' );
}
if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
$notifications_box = $notifications_obj->get_admin_notifications ( '12', 'false' );
}
?>