Skip to:
Content
Pages
Categories
Search
Top
Bottom

SNIPPET: Remove time from activity action.

  • Profile photo of @ChrisClayton
    @ChrisClayton
    Participant

    @chrisclayton

    After a ‘friend’ tried to claim that BP is a bad plugin because it apparently forces you to use Display:none; to modify it (he used the time in activity_action as an example) so i had to go through my code snippets to find this to prove him wrong, and thought some of you might find some sorta use out of it.

    <?php
    function cc_activity_time_since() {
    return false;
    }
    add_filter ('bp_activity_time_since', 'cc_activity_time_since');
    ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘SNIPPET: Remove time from activity action.’ is closed to new replies.