wp_update_comment_count_now

SummerySummery

Updates the comment count for the post.

Syntax

wp_update_comment_count_now( int $post_id )

ParametersParameters

$post_id

(int) (Required) Post ID

ReturnReturn

(bool) True on success, false if the post does not exist.

SourceSource

File: wp-includes/comment.php


			

ChangelogChangelog

Changelog
Version Description
2.5.0 Introduced.
Scroll to Top