Update WordPress Settings
wp_update_settingsUpdate core WordPress settings: site title, tagline, posts-per-page, and static front page assignment. Specify only the fields to change; requires admin permissions.
Instructions
Update core WP general settings (title, tagline, posts-per-page, and the front-page / blog-page assignment). Requires admin (manage_options). Only the fields you pass are changed.
The most common use is setting the static homepage: show_on_front='page', page_on_front=, page_for_posts=.
NOTE: This cannot toggle "Discourage search engines" (blog_public) — core does not expose it via REST. Use the WP Admin Reading screen or the planned control plugin for that.
Args:
title, description (string)
posts_per_page (number)
show_on_front ('posts' | 'page')
page_on_front, page_for_posts, default_category (number)
response_format (enum): markdown | json.
Returns: the updated settings object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Site title. | |
| description | No | Site tagline. | |
| page_on_front | No | Page ID to use as the static homepage (only used when show_on_front='page'). | |
| show_on_front | No | What the front page shows: 'posts' (latest blog) or 'page' (a static page). | |
| page_for_posts | No | Page ID to use as the blog/posts page (only used when show_on_front='page'). | |
| posts_per_page | No | Blog posts shown per page. | |
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable. | markdown |
| default_category | No | Default category ID for new posts. |