Skip to:
Content
Pages
Categories
Search
Top
Bottom

How wp-admin-bar-my-account-* are generated

  • Avatar of shurikasa
    shurikasa
    Participant

    @shurikasa

    Hello guys,

    I’ve been trying to find how the menu items are generated by buddipress, such that they thenappear under the <li id=”wp-admin-bar-my-account-*”…>… tags. I was looking at the bp_adminbar_menus, bp_adminbar_account_menu, the wp_before_admin_bar_render itself. I was able to understand how to tweak the general menu items in the wp-includes/admin-bar.php file, but I could not figure out how to modify (or how to find the origins of) the buddypress additional menu which has links to friends, activity, etc. I can see them in the source code of the web page, for example, id=”wp-admin-bar-my-account-friends”, but simply can’t locate where those are defined. Thank you for your help.

You must be logged in to reply to this topic.