public function toggle_mobile() { if (!expSession::is_set('mobile')) { // account for FORCE_MOBILE initial state expSession::set('mobile', MOBILE); } expSession::set('mobile', !expSession::get('mobile')); expTheme::removeSmartyCache(); expHistory::back(); }
function exponent_theme_remove_smarty_cache() { return expTheme::removeSmartyCache(); }