When to use it

  • You just installed the plugin on a site that already has hundreds or thousands of comments.
  • You changed your tone or system prompt and want to regenerate drafts for unreplied comments.
  • You're in suggestion mode and want to publish every pending draft at once after reviewing.

Where to find it

In your admin: Settings → ReplyMind → Batch Process tab.

The tab has two sections:

  1. Batch Generate AI Replies — process comments without an AI reply yet.
  2. Bulk Publish Pending Drafts — publish all suggestion-mode drafts (suggestion mode only).

Section 1 — Batch Generate AI Replies

What it processes

Approved comments where neither _replymind_processed nor _replymind_reply_generated is set. Spam, trash, and pending comments are skipped.

How to run

  1. The Unprocessed comments count shows how many will be processed.
  2. Click Generate AI Replies for All.
  3. The progress bar updates live. Each AJAX call processes 2 comments.
  4. You can click Stop at any time. Comments not yet touched stay unprocessed for a future run.

What happens per comment

In suggestion mode → a draft is saved (_replymind_pending_reply) and the AI Reply column shows Draft Ready.

In auto mode → a child comment is posted immediately, attributed to the post author.

If a generation fails for a specific comment, the error is logged and the loop continues with the next one. The error count appears in the summary when the run finishes.

Daily rate limit

The batch run respects the daily cap (default 100). When the cap is reached, the loop stops cleanly with a friendly message and the remaining comments stay unprocessed for tomorrow.

To raise or disable the cap:

add_filter( 'replymind_daily_limit', fn() => 1000 );
// 0 disables the cap entirely

Section 2 — Bulk Publish Pending Drafts

What it processes

All comments with a non-empty _replymind_pending_reply.

How to run

  1. The Pending drafts count shows how many will be published.
  2. Click Publish All Drafts.
  3. The progress bar updates live. Each AJAX call publishes 5 drafts.
  4. You can click Stop at any time.

After publishing, each comment moves from Draft Ready to Published and the draft text is removed from _replymind_pending_reply.

Important: this skips review

Bulk Publish posts every draft as-is. Review them first in the Comments list (use ?replymind_filter=drafts to filter), or you'll publish whatever the AI generated without inspection.

If you want to keep the review step, use Edit & Publish on each comment individually instead.


Recommended first-time workflow

  1. Install the plugin and finish Getting started.
  2. Stay in Suggestion mode for the first run.
  3. Go to Batch Process and run Generate AI Replies for All.
  4. Wait for the run to finish (or stop manually if you have a lot of comments).
  5. Go to Comments, append ?replymind_filter=drafts to the URL.
  6. Skim the drafts. Edit obvious problems with Edit & Publish.
  7. When happy with the quality, return to Batch Process and click Publish All Drafts.

What's not done in batch

  • Comments that have already been processed (success or error) — to retry one, use Generate AI Reply in the comment row actions on the Comments screen.
  • Comments that have been replied to manually — the plugin doesn't try to compete with replies you've already posted.
  • Comments that the replymind_send_comment_data filter excludes.