In order to create a special menu for the splash page of a wordpress site I need access to the elements from the wordpress menu.
At first I thought that it was a simple array but it seems the information is all stored in a string and needs to be parsed.
However I need to retrieve single menu item names and links to be able to place them in my custom menu. (Which is created using
I do not want to hardcode the names and links, this would be really annoying and unprofessional. :( is there any way to access the elements from the wordpress wp_get_nav_menu_items(), store them in an array and access them individually? (I cannot use a foreach() solution.)