Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_activity_user_USERNAME

  • Avatar of chlitto
    chlitto
    Participant

    @chlitto

    how can i display only the activity author username?
    there’s only
    bp_activity_user_link()
    and
    bp_activity_user_id()
    :/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    bp_core_get_username( bp_get_activity_user_id() )

    Avatar of chlitto
    chlitto
    Participant

    @chlitto

    thank you

    Avatar of chlitto
    chlitto
    Participant

    @chlitto

    i know it’s the wrong forum but by any chance do you know how to do the same with bbpress? i think it’s a bit more complicated because i want the last poster username and only have

    bbp_author_link( array( ‘post_id’ => bbp_get_forum_last_active_id())
    and
    bbp_author_ip( array( ‘post_id’ => bbp_get_forum_last_active_id())

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.