I'm looking to send out emails to subscribers when a comment has been approved.
The two actions in the Codex are:
add_action('comment_post', 'callback', $priority, $accepted_args);
Where the arguments are
approval status (0 or 1).
add_action('edit_comment', 'callback', $priority, $accepted_args);
By default comments are not approved when they are posted so I think I would be editing them when I approve them but it's unclear in the Codex. Which option should I use when I approve a comment?