Beispiel #1
0
 /**
  * Compatibility fix for Gantry Framework
  *
  * Clear the menu cache on each request to make sure
  * visibility options are re-evaluated each time.
  *
  * @since 0.2.2
  * @return void
  */
 function clear_gantry_menu_cache()
 {
     if (class_exists('GantryWidgetMenu')) {
         GantryWidgetMenu::clearMenuCache();
     }
 }