Loop through Navbar, Output Icons

There are 4 arguments that might help you with wp_nav_menu():

  • before – “(string) Text before the link text.”
  • after – “(string) Text after the link text.”
  • link_before – “(string) Text before the link.”
  • link_after – “(string) Text after the link.”