Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*return activity date in facebook style*/
- function format_activity_date() {
- $activityDate=bp_get_activity_date_recorded();
- return date ( "F j, Y g:i a", strtotime($activityDate));
- }
- add_filter('bp_activity_time_since', 'format_activity_date');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement