Hide XL Notices from admin dashboard forever
<?php
add_action('admin_init', 'theme_xl_notice_variable', 1);
if(!function_exists('theme_xl_notice_variable')) {
function theme_xl_notice_variable() {
global $xl_upsells_notice_active;
$xl_upsells_notice_active = true;
}
}