{"id":44761,"date":"2016-04-01T16:05:46","date_gmt":"2016-04-01T16:05:46","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=44761"},"modified":"2026-02-17T13:28:02","modified_gmt":"2026-02-17T13:28:02","slug":"programmatically-add-options-attribute-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/","title":{"rendered":"How to Programmatically Add more Options to an Attribute in Magento 2"},"content":{"rendered":"\n<p>We\u2019ll explore here how to programmatically add more options to an <a href=\"https:\/\/store.webkul.com\/magento2-multi-vendor-custom-attributes.html\">attribute in Magento 2<\/a>, step-by-step using custom code and EAV setup.<\/p>\n\n\n\n<p>The attributes are basically the property of the product. And, the value of the attributes is known as the attribute options. By default, the attributes of a product are the name of the product, its description, and its price.&nbsp;<\/p>\n\n\n\n<p><span style=\"background-color: #e1bee7\">Suppose you have created a custom attribute with some default options&nbsp; and now you want to add more options afterward. Then you can create more options later with the help of this blog.<\/span><\/p>\n\n\n\n<p>Here I am using an attribute &#8220;color_test&#8221; i.e. attribute_code and now explaining how to add options to attribute.<\/p>\n\n\n\n<p>Step 1 : Create construct method in your controller and inject all the dependencies that are mentioned below :<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">protected $_eavSetupFactory;\nprotected $_storeManager;\nprotected $_attributeFactory;\n\npublic function __construct(\n    Context $context,        \n    \\Magento\\Eav\\Setup\\EavSetupFactory $eavSetupFactory,\n    \\Magento\\Store\\Model\\StoreManagerInterface $storeManager,\n    \\Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute $attributeFactory\n) {\n    $this-&gt;_eavSetupFactory = $eavSetupFactory;\n    $this-&gt;_storeManager = $storeManager;\n    $this-&gt;_attributeFactory = $attributeFactory;\n    parent::__construct($context);\n}<\/pre>\n\n\n\n<p>Step 2 : After creating the constructor create a method in your controller named<\/p>\n\n\n\n<p>addOptionsToAttribute.<\/p>\n\n\n\n<p>Inside &#8220;<span style=\"color: initial\">addOptionsToAttribute&#8221; function,<\/span><\/p>\n\n\n\n<p>Create an array of options which you want to add to attribute an example for the same is given below :&nbsp;<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$attribute_arr = &#091;&#039;Yellow&#039;,&#039;White&#039;,&#039;Black&#039;];<\/pre>\n\n\n\n<p>Step 3 : Now Load the attribute by attribute code. Here I have taken an example of attribute code as&nbsp; &#8220;color_test&#8221; to get attribute id<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$attributeInfo=$this-&gt;_attributeFactory-&gt;getCollection()\n               -&gt;addFieldToFilter(&#039;attribute_code&#039;,&#091;&#039;eq&#039;=&gt;&quot;color_test&quot;])\n               -&gt;getFirstItem();\n$attribute_id = $attributeInfo-&gt;getAttributeId();<\/pre>\n\n\n\n<p>Step 4 : Now create attribute options array to assign the option to the desired attribute.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$option=array();\n$option&#091;&#039;attribute_id&#039;] = $attributeInfo-&gt;getAttributeId();\nforeach($attribute_arr as $key=&gt;$value){&lt;br&gt;\n    $option&#091;&#039;value&#039;]&#091;$value]&#091;0]=$value;\n  \n}<\/pre>\n\n\n\n<p>Step 5 : Now add this option array to attribute to your desired attribute using EavSetupFactory as shown below :<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$eavSetup = $this-&gt;_eavSetupFactory-&gt;create();\n$eavSetup-&gt;addAttributeOption($option);&lt;br&gt;&lt;br&gt;<\/pre>\n\n\n\n<p>Now execute this code, you will see that the desired attribute will be having&nbsp; these options in magento 2 .<\/p>\n\n\n\n<p>This is how you can programmatically add more options to any desired attribute in magento2.<\/p>\n\n\n\n<p>You can also visit below links :&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/webkul.com\/blog\/magento2-how-to-create-product-custom-attribute-from-installer-in-custom-module\/\">https:\/\/webkul.com\/blog\/magento2-how-to-create-product-custom-attribute-from-installer-in-custom-module\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/devdocs.magento.com\/guides\/v2.3\/extension-dev-guide\/attributes.html\">https:\/\/devdocs.magento.com\/guides\/v2.3\/extension-dev-guide\/attributes.html<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019ll explore here how to programmatically add more options to an attribute in Magento 2, step-by-step using custom code and EAV setup. The attributes are basically the property of the product. And, the value of the attributes is known as the attribute options. By default, the attributes of a product are the name of the <a href=\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":15,"featured_media":43620,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[2070,2920],"class_list":["post-44761","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-magento2","tag-programmatically-add-options-to-attribute"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add more Options to an Attribute in Magento 2<\/title>\n<meta name=\"description\" content=\"We explored here how developers can extend product attributes in Magento 2 by inserting options via custom code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add more Options to an Attribute in Magento 2\" \/>\n<meta property=\"og:description\" content=\"We explored here how developers can extend product attributes in Magento 2 by inserting options via custom code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-01T16:05:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-17T13:28:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pooja Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pooja Sahu\" \/>\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:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\"},\"author\":{\"name\":\"Pooja Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\"},\"headline\":\"How to Programmatically Add more Options to an Attribute in Magento 2\",\"datePublished\":\"2016-04-01T16:05:46+00:00\",\"dateModified\":\"2026-02-17T13:28:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\"},\"wordCount\":293,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png\",\"keywords\":[\"Magento2\",\"programmatically add options to attribute\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\",\"name\":\"Add more Options to an Attribute in Magento 2\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png\",\"datePublished\":\"2016-04-01T16:05:46+00:00\",\"dateModified\":\"2026-02-17T13:28:02+00:00\",\"description\":\"We explored here how developers can extend product attributes in Magento 2 by inserting options via custom code.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Programmatically Add more Options to an Attribute in Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\",\"name\":\"Pooja Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Pooja Sahu\"},\"description\":\"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/pooja\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add more Options to an Attribute in Magento 2","description":"We explored here how developers can extend product attributes in Magento 2 by inserting options via custom code.","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:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/","og_locale":"en_US","og_type":"article","og_title":"Add more Options to an Attribute in Magento 2","og_description":"We explored here how developers can extend product attributes in Magento 2 by inserting options via custom code.","og_url":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-04-01T16:05:46+00:00","article_modified_time":"2026-02-17T13:28:02+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png","type":"image\/png"}],"author":"Pooja Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Pooja Sahu","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/"},"author":{"name":"Pooja Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b"},"headline":"How to Programmatically Add more Options to an Attribute in Magento 2","datePublished":"2016-04-01T16:05:46+00:00","dateModified":"2026-02-17T13:28:02+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/"},"wordCount":293,"commentCount":3,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png","keywords":["Magento2","programmatically add options to attribute"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/","url":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/","name":"Add more Options to an Attribute in Magento 2","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png","datePublished":"2016-04-01T16:05:46+00:00","dateModified":"2026-02-17T13:28:02+00:00","description":"We explored here how developers can extend product attributes in Magento 2 by inserting options via custom code.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Magneto-Code-Snippet-1.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/programmatically-add-options-attribute-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Programmatically Add more Options to an Attribute in Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b","name":"Pooja Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Pooja Sahu"},"description":"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.","url":"https:\/\/webkul.com\/blog\/author\/pooja\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/44761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=44761"}],"version-history":[{"count":6,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/44761\/revisions"}],"predecessor-version":[{"id":526770,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/44761\/revisions\/526770"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/43620"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=44761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=44761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=44761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}