Fires immediately after a post’s comment count is updated in the database.
$post_idint
$newint
$oldint
do_action( 'wp_update_comment_count', $post_id, $new, $old );
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_update_comment_count