xlplugins
9/22/2017 - 11:00 AM

Hide XL Notices from admin dashboard forever

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;
	}
}