class Companion_HooksListens for companion plugin hooks and calls clanbite_points_award().
class final
- Full name
Kernowdev\ClanbitePoints\Integration\Companion_Hooks
Methods
on_comment_reaction_toggled()Award points for reacting to a comment (and to the author who received a reaction).on_forums_reply_created()Award points for a forum reply a member posted.on_forums_reply_deleted()Take back what a deleted forum reply earned.on_forums_topic_created()Award points for a forum topic a member started.on_forums_topic_trashed()Take back what a trashed forum topic and the replies in it earned.on_friend_request_created()Award points to a member who sent a friend request.on_friendship_accepted()Award points to both members when a friend request is accepted.on_friendship_removed()Take back the points earned by a friendship (the request and the acceptance) when it ends.on_post_reaction_toggled()Award points for reacting to a post (and to the author who received a reaction).on_social_comment_created()Award points for a comment a member posted on a social post.on_social_comment_deleted()Take back the points a deleted social comment (and every reply below it) earned, with the reactions on them.on_social_poll_voted()Award points to a member who voted in a social poll.on_social_post_created()Award points for a social post (and its image or poll) a member published.on_social_post_deleted()Take back everything a deleted social post earned: the post itself, its poll and photo bonus, votes, comments and the reactions on it and on its comments.register()Register WordPress hooks (only when this extension is running).
Defined in inc/Integration/Companion_Hooks.php
Changelog
| Version | Description |
|---|---|
| 1.4.4 | Updated. |
| 1.4.0 | Updated. |