Site Settings Edit

Schema

The schema defines all the fields that exist within a Site Setting record. Any response from these endpoints can be expected to contain the fields below unless the `_filter` query parameter is used or the schema field only appears in a specific context.

title

string
Site title.

Context:

description

string
Site tagline.

Context:

url

string,
uri
Site URL.

Context:

email

string,
email
This address is used for admin purposes, like new user notification.

Context:

timezone

string
A city in the same timezone as you.

Context:

date_format

string
A date format for all date strings.

Context:

time_format

string
A time format for all time strings.

Context:

start_of_week

integer
A day number of the week that the week should start on.

Context:

language

string
WordPress locale code.

Context:

use_smilies

boolean
Convert emoticons like :-) and :-P to graphics on display.

Context:

default_category

integer
Default post category.

Context:

default_post_format

string
Default post format.

Context:

posts_per_page

integer
Blog pages show at most.

Context:

default_ping_status

string
Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.

Context:

One of: open, closed

default_comment_status

string
Allow people to submit comments on new posts.

Context:

One of: open, closed

Top ↑

Retrieve a Site Setting

Top ↑

Definition & Example Request

GET /wp/v2/settings

Query this endpoint to retrieve a specific Site Setting record.

$ curl https://example.com/wp-json/wp/v2/settings

There are no arguments for this endpoint.

Top ↑

Update a Site Setting

Top ↑

Arguments

title Site title.
description Site tagline.
url Site URL.
email This address is used for admin purposes, like new user notification.
timezone A city in the same timezone as you.
date_format A date format for all date strings.
time_format A time format for all time strings.
start_of_week A day number of the week that the week should start on.
language WordPress locale code.
use_smilies Convert emoticons like :-) and :-P to graphics on display.
default_category Default post category.
default_post_format Default post format.
posts_per_page Blog pages show at most.
default_ping_status Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.
One of: open, closed
default_comment_status Allow people to submit comments on new posts.
One of: open, closed