Show Nav Menu as dropdown in add_control choices for wp customizer
I’m currently trying to show a drop down menu to select as the footer menu using the wordpress customizer API. Below is my add_control code
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'js_footer_service_input', array( 'label' => __( 'Footer Services Pages', 'max' ), 'section' => 'js_topbar_section', 'settings' => 'js_footer_service', 'type' => 'select', 'choices' => array( )));
After the ‘choices’ section is where am stuck as i don’t know what function to call so as to display all the nav menus available on the site as dropdown.