API Reference

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

ParameterTypeRequiredDescription
default_comment_statusstringNoDefault Comment Status
default_ping_statusstringNoDefault Ping Status
default_pingback_flagbooleanNoDefault Pingback Flag
require_name_emailbooleanNoRequire Name Email
comment_registrationbooleanNoComment Registration
close_comments_for_old_postsbooleanNoClose Comments For Old Posts
close_comments_days_oldintegerNoClose Comments Days Old
thread_commentsbooleanNoThread Comments
thread_comments_depthintegerNoThread Comments Depth
page_commentsbooleanNoPage Comments
comments_per_pageintegerNoComments Per Page
comment_orderstringNoComment Order
comments_notifybooleanNoComments Notify
moderation_notifybooleanNoModeration Notify
comment_moderationbooleanNoComment Moderation
comment_whitelistbooleanNoComment Whitelist

Related WordPress tools

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.