wordpress create menu function code example Example: wp main menu wp_nav_menu( array( 'theme_location' => 'header', 'menu' => 'Main Menu') );