code: def init_menu():
      
      # Register settings menu
      item = current_menu.submenu('settings.admin')
      item.register(
          "admin.index",
          # NOTE: Menu item text (icon replaced by a cogs icon).
          _('%(icon)s Administration', icon='<i class="fa fa-cogs fa-fw"></i>'),
          visible_when=_has_admin_access,
          order=100)
docs: Initialize menu before first request.