Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Changing Activity Stream Time & Date

@mgkoller

Participant

Getting back to this issue
`
You add the filter (and associated hook) in your functions.php file
`
I’m using the Frisco theme so here is the functions.php

Github – https://github.com/davidtcarson/frisco/blob/master/functions.php
Pastebin – http://pastebin.com/2gyXjCnK

So I need to ‘hook’ the filter onto one of those hooks that bp_insert_activity_meta provides .
I’m currently trying to find out were to insert this hook in the Frisco functions.php file
Here’s the custom hook

`
add_filter( ‘bp_activity_time_since’, strftime ($time,’l jS of F Y h:i:s A’,);
`
Obviously this function isn’t going to work but I’m trying to get the bigger idea,
I’m doing this on my Localhost using Mamp so I can just work by trial and error.

Skip to toolbar