Activity stream order by most favorite activities
I’m using WP 4.2.4 and Buddypress 22.214.171.124 and Twenty Fifteen theme.
I need to get activity loop ordered by most favorite items and I found this article:
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.php
- The topic ‘Activity stream order by most favorite activities’ is closed to new replies.