Filters a post’s comment count before it is updated in the database.
$newint|null
$oldint
$post_idint
$new = apply_filters( 'pre_wp_update_comment_count_now', null, $old, $post_id );
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_wp_update_comment_count_now