Remove likes before Buddypress activity deletion (MyCred)
-
Hello,
I have implemented a system integrating ULike, Buddypress and Mycred for credits management and I’m very satisfied!
Thanks for the great plugin!However I need that everyone automatically “unlike” a Buddypress activity when it’s creator decides to delete it.
The reason is that I want to “undo” like points trade if a Buddypress activity is deleted, and I think the fastest way is to trigger Mycred hooks “Points for unliking content” and “Points for Author Who Get Unliked” for everyone before the deletion.
Maybe another solution is to give likers 1 point when author deletes activity they liked, and remove that total from the activity author, but that’s more a MyCred stuff!
Would anyone be kind enough to help me? ??
- The topic ‘Remove likes before Buddypress activity deletion (MyCred)’ is closed to new replies.