Community & Support

Get second level of primary links

Hello,

I'm trying to get the information in the 2nd level of the primary links. I need to get the 2nd level links so I can display them as a sort of custom drop menu / tooltip.

I'm using this function: menu_primary_links();

but it only return the first level, I tried calling it like so: menu_primary_links(2); but get nothing back.

Anyone know how to get the variable information?

thanks

Idan

Comments

I used this

nobody click here