This hook can be used for making some actions after sending the email notification to the subscriber who chooses the “new follow-up comments” option.
Changelog
since 7.0.0 version
Parameters
1. $postId (type: int) - current post ID
2. $commentId (type: int) - current comment ID
3. $subscriberUserId (type: int) - the ID of the subscribed user
4. $subscriberEmail (type: string) - the email address of the subscriber
2. $commentId (type: int) - current comment ID
3. $subscriberUserId (type: int) - the ID of the subscribed user
4. $subscriberEmail (type: string) - the email address of the subscriber
Usage
add_action("wpdiscuz_notify_all_comment_subscribers", function ($postId, $commentId, $subscriberUserId, $subscriberEmail) {
update_post_meta($postId, "all_comments_subscribers_notified_for_" . $commentId, 1);
}, 10, 4);
