Last active
June 27, 2023 03:37
-
-
Save coxmi/191ce08d22fed74da05a to your computer and use it in GitHub Desktop.
Custom wordpress menu: Get menu as hierarchical array with children
@thomasfrobieter You're welcome! I made a couple of tweaks recently after I received a few errors, so I've just updated the gist for you too.
@MichaelAnd you should add a backlink and author tag as well, as there are projects simply including the file as is (like wuxt for example, you get attributed in the readme, but when just looking at the file it is not clear)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hell yes. Finally, better menu arrays, thank you so much!