0

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 I am stuck. I don't know what function to call to display all the nav menus available on the site as dropdown.

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.