Used By
Used By | Description |
---|---|
wp-includes/comment.php: wp_update_comment_count_now() | Updates the comment count for the post. |
Filters a post’s comment count before it is updated in the database.
(int|null) The new comment count. Default null.
(int) The old comment count.
(int) Post ID.
File: wp-includes/comment.php
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_wp_update_comment_count_now