wp_update_comment_count – action
Fires immediately after a post’s comment count is updated in the database.
Parameters
- .
- ( 2.3.0 ) . .
- $post_id
- ( int ) Post ID. . . .
- $new
- ( int ) The new comment count. . . .
- $old
- ( int ) The old comment count. . . .