Activity stream order by most favorite activities
-
Hello,
I’m using WP 4.2.4 and Buddypress 2.3.2.1 and Twenty Fifteen theme.
I need to get activity loop ordered by most favorite items and I found this article:
Add custom filters to loops and enjoy them within your plugin
That is exactly what I need but when I implement it, nothing happens. I tried to var_dump($sql) from public function order_by_most_favorited and nothing happens again.
Here is the code that I used: https://github.com/imath/bp-loop-filters/blob/master/bp-loop-filters.phpHelp! Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Activity stream order by most favorite activities’ is closed to new replies.