Create a theme
admin_post_themes( name, settings_json, organization_ids = NULL, logo_file_id = NULL )
name | string required. The name of this theme. |
---|---|
settings_json | string required. The JSON-encoded theme configuration. |
organization_ids | array optional. List of organization ID's allowed to see this theme. |
logo_file_id | string optional. The ID of the logo image file. |
A list containing the following elements:
integer, The ID of this theme.
string, The name of this theme.
array, List of organization ID's allowed to use this theme.
string, The theme configuration object.
list, A list containing the following elements:
id integer, The ID of the logo image file.
downloadUrl string, The URL of the logo image file.
string,
string,