another function request
I need to translate the following link for use within buddypress
Here is what I want to do.
I am going to add a button to each members profile page within buddypress. I believe I can get the button in there properly, but I can’t find the buddypress variables that I should use.
I need to replace ‘user name’ with the buddypress variable that returns the username of the user whose page is being viewed.
I then need to replace ‘invite user name’ with the buddypress variable that returns the ‘pretty buddypress username’
I think that one is bp_user_fullname
so would example be:
does that look like the proper syntax to return the user_login and user_nicename from the database for the members whose page it is?
btw I’m guessing that it is bp_user_name and bp_user_fullname I am NOT SURE this is correct….
sorry for such a generic question… it’s a learning experience for me
- The topic ‘another function request’ is closed to new replies.