Modify menu programmatically
-
I’m building a site with Paid Memberships Pro. It’s structured primarily with pages that are assigned to different membership levels. My goal is, when a user is logged in, to show a menu with submenu items representing the pages that member is allowed to see.
Talking with the PMP developer, he suggested I create a menu per membership level and swap the entire menu out. That’s not ideal because there will be many levels and most will share the same links, so any change would involve changes to every level.
Is there a way to append menu items to a menu programmatically instead? I am comfortable writing my own plugin to do so.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Modify menu programmatically’ is closed to new replies.