Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: “My Favorites” Plugin


Daniel
Participant

@danhay

@r-a-y Nice bit of code. You can extend this to also show how many faves a post has:

= ( $fav = bp_activity_get_meta( $activity_id, ‘favorite_count’ ) ) ? $fav : 0

Skip to toolbar