WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_update_comment_count

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php do_action 2766 /**
* Fires immediately after a post's comment count is updated in the database.
*
* @since 2.3.0
*
* @param int $post_id Post ID.
* @param int $new The new comment count.
* @param int $old The old comment count.
*/

Hook Parameters

Parameter Type Name Description
int $post_id Post ID.
int $new The new comment count.
int $old The old comment count.