i need to run one function when comments are posted and approved.
i read at codex that wp_set_comment_status, comment_post and edit_comment with add_action would do the trick
the problem is that comment_post and edit_comment is working but if a post is not approved at the beginning but later approved by admin my function is not called…
how can i call it there?
- The topic ‘wp_set_comment_status don’t working?’ is closed to new replies.