Summery Summery
Filters a post’s comment count before it is updated in the database.
Syntax Syntax
Parameters Parameters
- $new
-
(int|null) The new comment count. Default null.
- $old
-
(int) The old comment count.
- $post_id
-
(int) Post ID.
Source Source
File: wp-includes/comment.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |