Beispiel #1
0
function cuttz_generate_skin_css()
{
    cuttz_generate_css(get_option(cuttz_get_skin_page_id()));
}
 function save($newsettings, $oldsettings)
 {
     $newsettings['cuttz-web-fonts'] = $this->cuttz_get_fonts_url($newsettings);
     cuttz_generate_css($newsettings);
     if (function_exists('w3tc_browsercache_flush')) {
         //check if W3Total cache is installed and active
         w3tc_browsercache_flush();
         //flush the w3tc browser cache to fetch the new settings.css
     }
     return $newsettings;
 }