Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to change `bp_topic_last_active_time` format


  • mvaneijgen
    Participant

    @mvaneijgen

    In loop-single-topic.php the following function is requested <?php bbp_topic_last_active_time();?> and this will display 2 weeks, 1 day ago I would like to only state the first part so 2 weeks ago and lose the specificity of it being a 1 day

    There are different kinds of specificity depending on when the topics was last active like:
    1 day, 23 hours ago
    2 weeks, 1 day ago
    1 month, 2 weeks ago

    and I would like to convert them all to
    1 day ago
    2 weeks ago
    1 month ago

    Any tips on this would be highly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar