comment_{$old_status}_to_{$new_status}, $comment
comment_{$old_status}_to_{$new_status}, $comment
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('comment_{$old_status}_to_{$new_status}, $comment') is found 1 times:
- /wp-includes/comment.php line 1922
* @since 2.7.0 * * @param WP_Comment $comment Comment object. */ do_action( "comment_{$old_status}_to_{$new_status}", $comment ); } /** * 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.