In the default tempalte settings for buddypress, the name of the user who posted the specific activity is displayed as follows:
bp_activity_action();
But this brings much more than just the username. Is there an easier way to get an object / username?
The Wordpess get userdata function does not work, because it displays the author of the page, and not the name of the author of the comment or activity.
source
share