Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get activity time_since

  • Profile photo of abyss
    abysshorror
    Member

    @abysshorror

    Hey all !

    I’m using a theme that displays information from `bp_activity_action();` but I only want the “time_since” of the activity. How can I get it ?

    Thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Profile photo of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    bp_get_activity_date_recorded() / bp_activity_date_recorded()

    Profile photo of abyss
    abysshorror
    Member

    @abysshorror

    Hey @djpaul, thanks !

    Actually I want to get it in the format `20 hours, 19 minutes ago`. I tried

    `bp_core_time_since(bp_activity_date_recorded());`

    But it’s not working :/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get activity time_since’ is closed to new replies.
Skip to toolbar