---
layout: default
title: 'wp comment recount'
display_global_parameters: true
---

<small>[Commands](/commands/) &raquo; [comment](/commands/comment/) &raquo; recount</small>

`wp comment recount` - Recalculate the comment_count value for one or more posts.

<small>Quick links: <a href="https://github.com/wp-cli/wp-cli/issues?q=is%3Aopen+label%3Acommand%3Acomment-recount+sort%3Aupdated-desc">Github issues</a></small>

<hr />

### OPTIONS

&lt;id&gt;...
: IDs for one or more posts to update.

### EXAMPLES

    # Recount comment for the post.
    $ wp comment recount 123
    Updated post 123 comment count to 67.



