Programmatically add a Navigation menu and menu items

Posted by Prem Tiwari | Updated on

I might be misunderstanding you, but why not use wp_create_nav_menu(). This is what I do to create a custom BuddyPress menu when I detect BP as active:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers