Opened 14 years ago
Closed 14 years ago
#3024 closed enhancement (fixed)
Filter forum posts before output them
Reported by: | slaFFik | Owned by: | djpaul |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | 1.5 | |
Component: | Forums | Keywords: | filter, forum, reorder |
Cc: |
Description
In order to make available such feature as forum posts reordering a quick and easy change to bp_forums_get_post_extras() is required. In 1.2.7 that's the line 513. Change it please from:
return $posts;
to
return apply_filters('bp_forums_get_post_extras', $posts);
I'm using this to make possible threaded replies to forum posts in groups forum (I think that's usefull feature! And plugin is ready but needs this core change).
Thank you in advance,
Slava
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [3916]) Add filter to bp_forums_get_post_extras. Fixes #3024, props slaFFik