wpseek.com
A WordPress-centric search engine for devs and theme authors
comment_{$new_status}_{$comment->comment_type} › WordPress Action Hooks
Since2.7.0
Deprecatedn/a
› do_action( "comment_{$new_status}_{$comment->comment_type}", $comment->comment_ID, $comment )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Fires when the status of a specific comment type is in transition.
The dynamic portions of the hook name, $new_status
, and $comment->comment_type
,
refer to the new comment status, and the type of comment, respectively.
Typical comment types include an empty string (standard comment), 'pingback', or 'trackback'.
Related Functions: get_comment_type, feed_content_type, post_comment_meta_box_thead, comment_author_ip, post_comment_meta_box