wp_update_comment_count_now


wp_update_comment_count_now ( $post_id )

Parameters:
  • (int) post_id Post ID
Returns:
  • (bool) True on success, false if the post 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_update_comment, wp_defer_comment_counting, wp_update_term_count

Top Google Results

User discussions

wpseek mobile