Fires immediately after a post’s comment count is updated in the database.
Parameters
$post_id
int- Post ID.
$new
int- The new comment count.
$old
int- The old comment count.
Source
do_action( 'wp_update_comment_count', $post_id, $new, $old );
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.