wp_update_comment_count_now


wp_update_comment_count_now ( $post_id )

Parameters:
  • (int) $post_id Post ID
Returns:
  • (bool) True on success, false on '0' $post_id or if post with ID does not exist.
Defined at:

Description

Updates the comment count for the post.

Related Functions

wp_update_comment_count, wp_update_term_count_now, wp_defer_comment_counting, wp_update_comment, wp_update_term_count

Top Google Results

User discussions

wpseek mobile