Schema
The schema defines all the fields that exist for a settings object.
titlestring |
Site title. Context: |
descriptionstring |
Site description. Context: |
urlstring, uri |
Site URL. Context: |
emailstring, email |
This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed. Context: |
timezonestring |
A city in the same timezone as you. Context: |
date_formatstring |
A date format for all date strings. Context: |
time_formatstring |
A time format for all time strings. Context: |
start_of_weeknumber |
A day number of the week that the week should start on. Context: |
languagestring |
WordPress locale code. Context: |
use_smiliesboolean |
Convert emoticons like :-) and :-P to graphics on display. Context: |
default_categorynumber |
Default category. Context: |
default_post_formatstring |
Default post format. Context: |
posts_per_pagenumber |
Blog pages show at most. Context: |
default_ping_statusstring |
Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. Context: One of: |
default_comment_statusstring |
Allow people to post comments on new articles. Context: One of: |
Example Request
$ curl -X OPTIONS -i http://demo.wp-api.org/wp-json/wp/v2/settings
Update a Setting
Arguments
title |
Site title. |
description |
Site description. |
url |
Site URL. |
email |
This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed. |
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 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: |
default_comment_status |
Allow people to post comments on new articles. One of: |