WordPress / API Reference
wp_update_discussion_settings
WordPress tool. Update comment/discussion settings (allow comments, moderation, notifications)
This is a write tool: it updates discussion settings in your WordPress account. Claude asks you to confirm before it runs.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Update discussion settings in my WordPress account.
It takes 0 required and 16 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
default_comment_status | string | No | Default Comment Status |
default_ping_status | string | No | Default Ping Status |
default_pingback_flag | boolean | No | Default Pingback Flag |
require_name_email | boolean | No | Require Name Email |
comment_registration | boolean | No | Comment Registration |
close_comments_for_old_posts | boolean | No | Close Comments For Old Posts |
close_comments_days_old | integer | No | Close Comments Days Old |
thread_comments | boolean | No | Thread Comments |
thread_comments_depth | integer | No | Thread Comments Depth |
page_comments | boolean | No | Page Comments |
comments_per_page | integer | No | Comments Per Page |
comment_order | string | No | Comment Order |
comments_notify | boolean | No | Comments Notify |
moderation_notify | boolean | No | Moderation Notify |
comment_moderation | boolean | No | Comment Moderation |
comment_whitelist | boolean | No | Comment Whitelist |
Related WordPress tools
wp_update_all_pluginswp_update_categorywp_update_commentwp_update_corewp_update_email_settingswp_update_general_settings
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.