Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_member_header_actions


  • argoncobalt
    Participant

    @argoncobalt

    Hello,

    My BuddyPress site has a member directory with users’ avatars, names, professions, locations, etc. A few months ago I added the following piece of code to my functions.php file:

    add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );

    That added a “Add Friend” button and “Message User” button to each user entry.

    However, recently, the “Add Friend” button has inexplicably disappeared. I just rolled back the old version of the site from a month ago, and the button was still there. I used a diffchecker to compare the code for both versions of the site, for both the member directory and functions.php. There were zero differences. All the same code.

    Does anybody know why that button disappeared?

  • You must be logged in to reply to this topic.
Skip to toolbar