Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Obfuscating User’s Real Name


modemlooper
Moderator

@modemlooper

bp_activity_action() is a piece of work as the code is split up all over in the file.

`function bp_activity_user_link() {
echo bp_get_activity_user_link();
}
function bp_get_activity_user_link() {
global $activities_template;

if ( empty( $activities_template->activity->user_id ) )
$link = $activities_template->activity->primary_link;
else
$link = bp_core_get_user_domain( $activities_template->activity->user_id, $activities_template->activity->user_nicename, $activities_template->activity->user_login );

return apply_filters( ‘bp_get_activity_user_link’, $link );
}`

Not sure if this is what’s calling the username in the activity stream

Skip to toolbar