Exemplo n.º 1
0
 /**
  * reset all caches created by hoangweb plugin
  */
 public static function reset_wp_menus_caches()
 {
     static $reset;
     if (!$reset && class_exists('HW_Module_Config_general')) {
         $config = HW_Module_Config_general::get_module_configs('config');
         $config->refresh_wp_menus_cache(false);
         $reset = 1;
     }
 }