6

Is there a way to add custom menu type to the menu editor? I know I can add items dynamically with the wp_get_nav_menu_items filter, but I would like to have the position of those items configurable.

1 Answer 1

1

I decided for now, I will use a custom css class and detect it in a wp_get_nav_menu_items filter. From there, I can get the data I need to set the URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.