get nav menu wordpress code example
Example 1: wp_nav_menu
wp_nav_menu( array(
'menu' => 'TEST',
'menu_class' => "",
'menu_id' => "",
'container' => false
) );
Example 2: setting navmenu programmatically
navigationView.getMenu().clear();
navigationView.inflateMenu(R.menu.menu_view);