{"id":2512,"date":"2018-04-18T19:37:50","date_gmt":"2018-04-19T02:37:50","guid":{"rendered":"https:\/\/www.elegantthemes.com\/documentation\/?p=2512"},"modified":"2020-02-07T14:17:37","modified_gmt":"2020-02-07T21:17:37","slug":"defining-module-settings","status":"publish","type":"post","link":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/","title":{"rendered":"Defining Module Settings"},"content":{"rendered":"<blockquote><p><strong>Note:<\/strong> This tutorial series is intended for advanced users. At least a basic understanding of coding in PHP and JavaScript is required.<\/p><\/blockquote>\n<p>Module settings are defined in the <code>get_fields()<\/code> method of the module\u2019s PHP class. A setting definition is simply an associative array of parameters.<\/p>\n<h2 id=\"required-parameters\">Required Parameters<\/h2>\n<ul>\n<li><strong>type<\/strong> <em>(string)<\/em> \u2014 The <a href=\"#field-types\">field type<\/a> used to render the setting in the module settings modal<\/li>\n<\/ul>\n<h2 id=\"optional-parameters\">Optional Parameters<\/h2>\n<ul>\n<li><strong>default<\/strong> <em>(string)<\/em> \u2014 Default value<\/li>\n<li><strong>description<\/strong> <em>(string)<\/em> \u2014 Description (localized)<\/li>\n<li><strong>id<\/strong> <em>(string)<\/em> \u2014 CSS id for the setting\u2019s field<\/li>\n<li><strong>label<\/strong> <em>(string)<\/em> \u2014 Display name (localized)<\/li>\n<li><strong>option_category<\/strong> <em>(string)<\/em> \u2014 Option category slug (for the Divi Role Editor)<\/li>\n<li><strong>show_if<\/strong> <em>(array)<\/em> \u2014 Only <a href=\"https:\/\/www.elegantthemes.com\/documentation\/developers\/settings-field-visibility\/\">show the setting<\/a> when certain settings <em>have<\/em> certain values<\/li>\n<li><strong>show_if_not<\/strong> <em>(array)<\/em> \u2014 Only <a href=\"https:\/\/www.elegantthemes.com\/documentation\/developers\/settings-field-visibility\/\">show the setting<\/a> when certain settings <em>do not have<\/em> certain values<\/li>\n<li><strong>tab_slug<\/strong> <em>(string)<\/em> \u2014 Modal tab slug<\/li>\n<li><strong>toggle_slug<\/strong> <em>(string)<\/em> \u2014 Modal tab settings group toggle slug<\/li>\n<\/ul>\n<h2 id=\"field-types\">Field Types<\/h2>\n<p>The Divi Builder has a comprehensive selection of field types for module settings. Below you\u2019ll find a list of available field types, each with a screenshot and a list of any additional parameters that must be included in the setting definition. The value to use for the <code>type<\/code> parameter of the setting definition is in parenthesis next to each field type name.<\/p>\n<h3 id=\"text-text\">Text (text)<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png\" alt=\"\" width=\"798\" height=\"77\" class=\"aligncenter size-full wp-image-2985\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png 798w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview-300x29.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview-768x74.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/p>\n<h3 id=\"select-select\">Select (select)<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/select-field.png\" alt=\"\" width=\"795\" height=\"171\" class=\"aligncenter size-full wp-image-2986\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/select-field.png 795w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/select-field-300x65.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/select-field-768x165.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/p>\n<p><strong>Select Field Parameters<\/strong><\/p>\n<ul>\n<li><strong>options<\/strong> <em>(array)<\/em> \u2014 Option slugs mapped to their display names (localized)<\/li>\n<\/ul>\n<h3 id=\"checkboxes-multiple_checkboxes\">Checkboxes (multiple_checkboxes)<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/checkboxes-field.png\" alt=\"\" width=\"796\" height=\"152\" class=\"aligncenter size-full wp-image-2987\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/checkboxes-field.png 796w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/checkboxes-field-300x57.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/checkboxes-field-768x147.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/p>\n<p><strong>Checkboxes Field Parameters<\/strong><\/p>\n<ul>\n<li><strong>options<\/strong> <em>(array)<\/em> \u2014 Option slugs mapped to their display names (localized)<\/li>\n<\/ul>\n<h3 id=\"toggle-button-yes_no_button\">Toggle Button (yes_no_button)<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/toggle-field.png\" alt=\"\" width=\"798\" height=\"91\" class=\"aligncenter size-full wp-image-2988\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/toggle-field.png 798w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/toggle-field-300x34.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/toggle-field-768x88.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><br \/>\n<strong>Toggle Button Field Parameters<\/strong><\/p>\n<ul>\n<li><strong>options<\/strong> <em>(array)<\/em>\n<ul>\n<li><strong>off<\/strong> <em>(string)<\/em> \u2014 Display name for the \u201coff\u201d state (localized)<\/li>\n<li><strong>on<\/strong> <em>(string)<\/em> \u2014 Display name for the \u201con\u201d state (localized)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"range-slider-range\">Range Slider (range)<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/range-field.png\" alt=\"\" width=\"798\" height=\"81\" class=\"aligncenter size-full wp-image-2989\" srcset=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/range-field.png 798w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/range-field-300x30.png 300w, https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/range-field-768x78.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/p>\n<p><strong>Range Slider Field Parameters<\/strong><\/p>\n<ul>\n<li><strong>range_settings<\/strong> <em>(array)<\/em>\n<ul>\n<li><strong>min<\/strong> <em>(string)<\/em> \u2014 Minimum value<\/li>\n<li><strong>max<\/strong> <em>(string)<\/em> \u2014 Maximum value<\/li>\n<li><strong>step<\/strong> <em>(string)<\/em> \u2014 Minimum distance between values when using the slider<\/li>\n<\/ul>\n<\/li>\n<li><strong>validate_unit<\/strong> <em>(bool)<\/em> \u2014 Whether or not to validate unit<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to define module settings using the field types provided by Divi.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23],"tags":[],"class_list":["post-2512","post","type-post","status-publish","format-standard","hentry","category-developers","category-divi-module"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Elegant Themes Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Defining Module Settings - Elegant Themes Documentation\" \/>\n<meta property=\"og:description\" content=\"Learn how to define module settings using the field types provided by Divi.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"Elegant Themes Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-19T02:37:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-07T21:17:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png\" \/>\n<meta name=\"author\" content=\"Dustin Falgout\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dustin Falgout\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/\"},\"author\":{\"name\":\"Dustin Falgout\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/0e2387f96b40940c4d33e54bac52e79b\"},\"headline\":\"Defining Module Settings\",\"datePublished\":\"2018-04-19T02:37:50+00:00\",\"dateModified\":\"2020-02-07T21:17:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/\"},\"wordCount\":307,\"image\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/image_preview.png\",\"articleSection\":[\"Developer Documentation\",\"Divi Module: In-Depth\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/\",\"name\":\"Defining Module Settings - Elegant Themes Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/image_preview.png\",\"datePublished\":\"2018-04-19T02:37:50+00:00\",\"dateModified\":\"2020-02-07T21:17:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/0e2387f96b40940c4d33e54bac52e79b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/image_preview.png\",\"contentUrl\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/image_preview.png\",\"width\":798,\"height\":77},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-module\\\/defining-module-settings\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Defining Module Settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/\",\"name\":\"Elegant Themes Documentation\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/0e2387f96b40940c4d33e54bac52e79b\",\"name\":\"Dustin Falgout\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4e8ced4a3ccff2b6839ae64b6e01266bb3da7dcbd5d0d391a1886029e7feac13?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4e8ced4a3ccff2b6839ae64b6e01266bb3da7dcbd5d0d391a1886029e7feac13?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4e8ced4a3ccff2b6839ae64b6e01266bb3da7dcbd5d0d391a1886029e7feac13?s=96&d=mm&r=g\",\"caption\":\"Dustin Falgout\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elegant Themes Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/","og_locale":"en_US","og_type":"article","og_title":"Defining Module Settings - Elegant Themes Documentation","og_description":"Learn how to define module settings using the field types provided by Divi.","og_url":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/","og_site_name":"Elegant Themes Documentation","article_published_time":"2018-04-19T02:37:50+00:00","article_modified_time":"2020-02-07T21:17:37+00:00","og_image":[{"url":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png","type":"","width":"","height":""}],"author":"Dustin Falgout","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Dustin Falgout","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/#article","isPartOf":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/"},"author":{"name":"Dustin Falgout","@id":"https:\/\/www.elegantthemes.com\/documentation\/#\/schema\/person\/0e2387f96b40940c4d33e54bac52e79b"},"headline":"Defining Module Settings","datePublished":"2018-04-19T02:37:50+00:00","dateModified":"2020-02-07T21:17:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/"},"wordCount":307,"image":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png","articleSection":["Developer Documentation","Divi Module: In-Depth"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/","url":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/","name":"Defining Module Settings - Elegant Themes Documentation","isPartOf":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/#primaryimage"},"image":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png","datePublished":"2018-04-19T02:37:50+00:00","dateModified":"2020-02-07T21:17:37+00:00","author":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/#\/schema\/person\/0e2387f96b40940c4d33e54bac52e79b"},"breadcrumb":{"@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/#primaryimage","url":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png","contentUrl":"https:\/\/www.elegantthemes.com\/documentation\/wp-content\/uploads\/2018\/04\/image_preview.png","width":798,"height":77},{"@type":"BreadcrumbList","@id":"https:\/\/www.elegantthemes.com\/documentation\/developers\/divi-module\/defining-module-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.elegantthemes.com\/documentation\/"},{"@type":"ListItem","position":2,"name":"Defining Module Settings"}]},{"@type":"WebSite","@id":"https:\/\/www.elegantthemes.com\/documentation\/#website","url":"https:\/\/www.elegantthemes.com\/documentation\/","name":"Elegant Themes Documentation","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.elegantthemes.com\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.elegantthemes.com\/documentation\/#\/schema\/person\/0e2387f96b40940c4d33e54bac52e79b","name":"Dustin Falgout","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4e8ced4a3ccff2b6839ae64b6e01266bb3da7dcbd5d0d391a1886029e7feac13?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4e8ced4a3ccff2b6839ae64b6e01266bb3da7dcbd5d0d391a1886029e7feac13?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4e8ced4a3ccff2b6839ae64b6e01266bb3da7dcbd5d0d391a1886029e7feac13?s=96&d=mm&r=g","caption":"Dustin Falgout"}}]}},"_links":{"self":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts\/2512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/comments?post=2512"}],"version-history":[{"count":6,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts\/2512\/revisions"}],"predecessor-version":[{"id":2990,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/posts\/2512\/revisions\/2990"}],"wp:attachment":[{"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/media?parent=2512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/categories?post=2512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elegantthemes.com\/documentation\/wp-json\/wp\/v2\/tags?post=2512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}