comment_{$new_status}_{$comment->comment_type}, $comment->comment_ID, $comment

comment_{$new_status}_{$comment->comment_type}, $comment->comment_ID, $comment

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('comment_{$new_status}_{$comment->comment_type}, $comment->comment_ID, $comment') is found 1 times:

  • /wp-includes/comment.php line 1949
    	 *
    	 * @param string     $comment_id The comment ID as a numeric string.
    	 * @param WP_Comment $comment    Comment object.
    	 */
    	do_action( "comment_{$new_status}_{$comment->comment_type}", $comment->comment_ID, $comment );
    }
    
    /**
     * Clears the lastcommentmodified cached value when a comment status is changed.
     *
     * Deletes the lastcommentmodified cache key when a comment enters or leaves