Home Forums General Issues Display navigation menu in acf dropdown field


Display navigation menu in acf dropdown field

  • Hi,

    I’m search for a nice solution for displaying a wordpress navigation menu in an acf dropdown field.
    I suppose that I’ve to use the wordpress function wp_get_nav_menu_items (to retrieve all menu items from a wordpress navigation menu) toghether with the acf filter hook acf/prepare_field (or maybe acf/load_field) to put every items in the dropdown field.

    Some know a nice way to achieve this?
    Would be wonderful having the navigation menu hierarchy preserved within the dropdown.

    Any suggestion would be really appreciated.
    Thanks in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.