Trying to add the standard bootstrap "nav-link" class to the anchors rendered by the Wordpress menu. So far ...
1/ I can pass variables to the wp_nav_menu()
<?php wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class' => 'navbar-nav',
'container' => 'false'
) );
?>
and apply a class to the menu that way, and remove the containing div.
2/ I then use the Wordpress Appearances > Menu UI to apply "nav-item" class to li tags.
Q. How do I apply a class to the wordpress menu anchor's