Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edit topic freshness to just 1 time chunk, not 2


  • gingerngo
    Participant

    @gingerngo

    Hi,

    I’m wondering how I can create a function that will allow me to output just 1 time chunk in the freshness column instead of 2.

    So instead of “3 months, 1 hour” it will just be “3 months” and “4 hours, 23 minutes” will just be “4 hours.”

    I found the bbp_get_time_since() function, but I’d like to create a separate function so I don’t edit the plugin files. Is this possible?

  • You must be logged in to reply to this topic.
Skip to toolbar