do_action( 'wp_update_comment_count', int $post_id, int $new, int $old )

Fires immediately after a post’s comment count is updated in the database.

Description Description

Parameters Parameters


(int) Post ID.


(int) The new comment count.


(int) The old comment count.

Top ↑

Source Source

File: wp-includes/comment.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.