wp_set_comment_status don’t working?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘wp_set_comment_status don’t working?’ is closed to new replies.
The topic ‘wp_set_comment_status don’t working?’ is closed to new replies.
(@schattenmann)
15 years, 11 months ago
hello
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?
http://codex.wordpress.org/Plugin_API/Action_Reference