Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
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.
Required, but never shown