• Resolved pixelsandcode

    (@pixelsandcode)


    I have a menu item in the “logged-in users” header menu that I need to append the value of a custom user meta to. Let’s call that value, “spoke.” There’s an existing menu item that has a URL stub (basically, “/hub/”) that, once appended, would look like “/hub/spoke”. I can retrieve the meta value using get_user_meta(). I’m just not sure how to then append that onto the menu item. I’d rather not do it with jQuery if I don’t have to.

    This value is custom/different for each user, so it’s not something I can do by, say, any of the available role-based menu plugins.

    Thank you for any assistance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Appending custom user meta onto menu item for logged-in users’ is closed to new replies.