public static function generate_commun_options_html($depth, $nav_id) { self::$nav_id_holder = $nav_id; $config = self::get_megamenu_config(); $db_options = self::get_nav_item_db_options($nav_id); $commun_options = self::set_options_value_and_title($config['commun_options'][$depth], $db_options); return self::options_to_html($commun_options); }