Schema Documentation
Theme
Description
A theme object
Fields
Field Name | Description |
---|---|
author -
String | Name of the theme author(s), could also be a company name. This field is equivalent to WP_Theme->get( "Author" ). |
authorUri -
String | URI for the author/company website. This field is equivalent to WP_Theme->get( "AuthorURI" ). |
description -
String | The description of the theme. This field is equivalent to WP_Theme->get( "Description" ). |
id -
ID! | The globally unique identifier of the theme object. |
isRestricted -
Boolean | Whether the object is restricted from the current viewer |
name -
String | Display name of the theme. This field is equivalent to WP_Theme->get( "Name" ). |
screenshot -
String | The URL of the screenshot for the theme. The screenshot is intended to give an overview of what the theme looks like. This field is equivalent to WP_Theme->get_screenshot(). |
slug -
String | The theme slug is used to internally match themes. Theme slugs can have subdirectories like: my-theme/sub-theme. This field is equivalent to WP_Theme->get_stylesheet(). |
tags -
[String] | URI for the author/company website. This field is equivalent to WP_Theme->get( "Tags" ). |
themeUri -
String | A URI if the theme has a website associated with it. The Theme URI is handy for directing users to a theme site for support etc. This field is equivalent to WP_Theme->get( "ThemeURI" ). |
version -
String | The current version of the theme. This field is equivalent to WP_Theme->get( "Version" ). |
Example
{"author":"xyz789","authorUri":"xyz789","description":"abc123","id":"4","isRestricted":false,"name":"abc123","screenshot":"xyz789","slug":"xyz789","tags":["abc123"],"themeUri":"xyz789","version":"abc123"}