Last active
September 3, 2025 21:07
-
-
Save helgatheviking/d00f9c033a4b0aab0f69cf50d7dcd89c to your computer and use it in GitHub Desktop.
Give Nav Menu Roles priority over any competing Walkers
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@RevealMarketing looking at the snippet and I'm not sure where
$versionis even defined. I'll make a little tweak that might help.Nav menu roles hasn't used a custom walker in 5 years. at this point, any theme that still is overriding the walker via
wp_edit_nav_menu_walkerand not including the relevant core hookwp_nav_menu_item_custom_fieldsis doing it wrong and needs to update.I will say that the full site editor experience is not supported as the UI for that is too restrictive, so this toggle only has any input on the admin menus page.