Update site settings
update_site_settingsUpdate global WordPress site settings such as homepage, timezone, and formats—applied instantly to all visitors. Requires administrator privileges.
Instructions
Update the site's core settings. These are global and take effect immediately for every visitor — changing show_on_front or page_on_front changes what the homepage is, and changing start_of_week or timezone shifts every displayed date. Requires an Administrator account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Site title. | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| language | No | Site locale, e.g. "en_GB". | |
| timezone | No | A PHP timezone string, e.g. "Europe/London". | |
| site_icon | No | Attachment ID for the site icon / favicon. | |
| date_format | No | PHP date format, e.g. "F j, Y". | |
| description | No | Tagline. | |
| time_format | No | PHP time format, e.g. "g:i a". | |
| page_on_front | No | Page ID to use as the front page. Only applies when show_on_front is "page". | |
| show_on_front | No | Whether the front page shows the blog or a static page. | |
| start_of_week | No | 0 = Sunday. | |
| page_for_posts | No | Page ID that lists blog posts. | |
| posts_per_page | No | How many posts appear on a blog listing page. | |
| default_category | No | Category ID assigned to posts with no category. | |
| users_can_register | No | Allow public registration. Enabling this on a site without spam protection invites abuse. | |
| default_ping_status | No | Whether new content accepts pingbacks and trackbacks. | |
| default_post_format | No | Post format applied to new posts, e.g. "standard". | |
| default_comment_status | No | Whether new content allows comments by default. |