2020-05-01 / 2412阅 / 悠然
Retrieves the amount of comments a post has.
(int|WP_Post)
(Optional)
Post ID or WP_Post object. Default is the global $post.
(string|int) If the post exists, a numeric string representing the number of comments the post has, otherwise 0.