{"id":52393,"date":"2016-06-18T10:07:54","date_gmt":"2016-06-18T10:07:54","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=52393"},"modified":"2024-02-26T04:27:10","modified_gmt":"2024-02-26T04:27:10","slug":"create-customer-attribute-without-using-installer","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/","title":{"rendered":"Create Customer Attribute Without using Installer in Magento 2."},"content":{"rendered":"\n<p><strong>Here we will learn, how to create customer attribute without using installer in magento 2.<\/strong><\/p>\n\n\n\n<p><strong>Note:<\/strong> We also have a separate module (<strong>Magento 2 Custom Registration Fields<\/strong>) that allows the admin to create custom fields for customers. Henceforth, using this module you can extend your customer sign-up form. For more information, you can check it on our\u00a0<a href=\"https:\/\/store.webkul.com\/Magento-2\/Magento2-Custom-Registration-Field.html\" target=\"_blank\" rel=\"noreferrer noopener\">store<\/a>.<\/p>\n\n\n\n<p>Let&#8217;s start the process.<br>To know steps to create\u00a0<strong>module<\/strong>\u00a0in Magento2,\u00a0 you can check our another blog\u00a0<a href=\"https:\/\/webkul.com\/blog\/create-hello-module-in-magento2\/\">here<\/a>.<br><br>1) Create a controller file: <strong>Webkul\/CustomerAttribute\/Controller\/Attribute\/Save.php<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\CustomerAttribute\\Controller\\Attribute;\n\nuse Magento\\Framework\\App\\Action\\Action;\nuse Magento\\Framework\\App\\Action\\Context;\nuse Magento\\Eav\\Setup\\EavSetupFactory;\nuse Magento\\Eav\\Setup\\EavSetup;\nuse Magento\\Eav\\Model\\Config;\nuse Magento\\Framework\\Setup\\ModuleDataSetupInterface;\nuse Magento\\Customer\\Setup\\CustomerSetupFactory;\n\nclass Save extends Action\n{\n    \/**\n     * @var \\Magento\\Framework\\Stdlib\\DateTime\\DateTime\n     *\/\n    protected $_moduleDataSetup;\n    \/**\n     * @var CustomerSetupFactory\n     *\/\n    protected $_customerSetupFactory;\n\n    protected $_eavSetup;\n\n    protected $_eavConfig;\n    \/**\n     * @var AttributeMetadataDataProvider\n     *\/\n    private $_attributeMetaData;\n    \n    \/**\n     * @param Context $context\n     * @param ModuleDataSetupInterface $moduleDataSetup\n     * @param CustomerSetupFactory $customerSetupFactory\n     * @param EavSetup $eavSetup\n     * @param Config $eavConfig\n     *\/\n    public function __construct(\n        Context $context,\n        ModuleDataSetupInterface $moduleDataSetup,\n        CustomerSetupFactory $customerSetupFactory,\n        EavSetup $eavSetup,\n        Config $eavConfig\n    ) {\n        $this-&gt;_moduleDataSetup = $moduleDataSetup;\n        $this-&gt;_customerSetupFactory = $customerSetupFactory;\n        $this-&gt;_eavSetup = $eavSetup;\n        $this-&gt;_eavConfig = $eavConfig;\n        parent::__construct($context);\n    }\n\n    \/**\n     * Save action.\n     *\n     * @return \\Magento\\Framework\\Controller\\ResultInterface\n     *\/\n    public function execute()\n    {\n        \/** @var \\Magento\\Backend\\Model\\View\\Result\\Redirect $resultRedirect *\/\n        $resultRedirect = $this-&gt;resultRedirectFactory-&gt;create();\n\n        $customerSetup = $this-&gt;_customerSetupFactory-&gt;create(&#091;&#039;setup&#039; =&gt; $this-&gt;_moduleDataSetup]);\n        $customerEntity = $customerSetup-&gt;getEavConfig()-&gt;getEntityType(&#039;customer&#039;);\n        $customer = $this-&gt;_eavSetup-&gt;getEntityTypeId(&#039;customer&#039;);\n        $attributeSetId = $customerEntity-&gt;getDefaultAttributeSetId();\n        $attributeGroupId = $customerEntity-&gt;getDefaultGroupId($attributeSetId);\n        \/*\n        * Creating Custom Customer Attribute\n        *\/\n        $attribute = $this-&gt;_eavConfig-&gt;getAttribute(&#039;customer&#039;, &#039;custom_attribute_test&#039;);\n        $attribute-&gt;addData(&#091;\n            &#039;frontend_type&#039; =&gt; &#039;varchar&#039;,\n            &#039;backend_type&#039; =&gt; &#039;varchar&#039;,\n            &#039;frontend_label&#039; =&gt; &#039;Custom Attribute Test&#039;,\n            &#039;frontend_input&#039; =&gt; &#039;text&#039;,\n            &#039;frontend_class&#039; =&gt; &#039;&#039;,\n            &#039;sort_order&#039; =&gt; 1000,\n            &#039;is_visible&#039; =&gt; 0,\n            &#039;is_system&#039; =&gt; false,\n            &#039;is_user_defined&#039; =&gt; true,\n            &#039;position&#039; =&gt; 1000,\n            &#039;attribute_set_id&#039; =&gt; $attributeSetId,\n            &#039;attribute_group_id&#039; =&gt; $attributeGroupId,\n            &#039;used_in_forms&#039; =&gt; &#091;&#039;adminhtml_customer&#039;],\n        ]);\n        $attribute-&gt;save();\n        return $resultRedirect-&gt;setPath(&#039;*\/*\/&#039;);\n    }\n}<\/pre>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here we will learn, how to create customer attribute without using installer in magento 2. Note: We also have a separate module (Magento 2 Custom Registration Fields) that allows the admin to create custom fields for customers. Henceforth, using this module you can extend your customer sign-up form. For more information, you can check it <a href=\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":69,"featured_media":50926,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[3257,2769,3259,3258],"class_list":["post-52393","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-create-attribute-without-installer","tag-create-customer-attribute-in-magento-2-0","tag-magento2-create-attribute-without-installer","tag-magento2-customer-attribute"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>create customer attribute without using installer<\/title>\n<meta name=\"description\" content=\"here we will learn, how to create customer attribute programmatically without using installer in magento 2.0.\" \/>\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\/create-customer-attribute-without-using-installer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"create customer attribute without using installer\" \/>\n<meta property=\"og:description\" content=\"here we will learn, how to create customer attribute programmatically without using installer in magento 2.0.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/\" \/>\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-06-18T10:07:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-26T04:27:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.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=\"Mahesh Singh\" \/>\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=\"Mahesh Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/\"},\"author\":{\"name\":\"Mahesh Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/53d3b977a0ab5adcf32aef9f97e595bd\"},\"headline\":\"Create Customer Attribute Without using Installer in Magento 2.\",\"datePublished\":\"2016-06-18T10:07:54+00:00\",\"dateModified\":\"2024-02-26T04:27:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/\"},\"wordCount\":93,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"keywords\":[\"create attribute without installer\",\"Create customer attribute in magento 2.0\",\"magento2 create attribute without installer\",\"magento2 customer attribute\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/\",\"url\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/\",\"name\":\"create customer attribute without using installer\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"datePublished\":\"2016-06-18T10:07:54+00:00\",\"dateModified\":\"2024-02-26T04:27:10+00:00\",\"description\":\"here we will learn, how to create customer attribute programmatically without using installer in magento 2.0.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Customer Attribute Without using Installer 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\/53d3b977a0ab5adcf32aef9f97e595bd\",\"name\":\"Mahesh Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f4c013ebf7008223382b8a49203e6d354677e8baff0eca373e6e4266efa762da?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f4c013ebf7008223382b8a49203e6d354677e8baff0eca373e6e4266efa762da?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Mahesh Singh\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/mahesh721\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"create customer attribute without using installer","description":"here we will learn, how to create customer attribute programmatically without using installer in magento 2.0.","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\/create-customer-attribute-without-using-installer\/","og_locale":"en_US","og_type":"article","og_title":"create customer attribute without using installer","og_description":"here we will learn, how to create customer attribute programmatically without using installer in magento 2.0.","og_url":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-06-18T10:07:54+00:00","article_modified_time":"2024-02-26T04:27:10+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","type":"image\/png"}],"author":"Mahesh Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Mahesh Singh","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/"},"author":{"name":"Mahesh Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/53d3b977a0ab5adcf32aef9f97e595bd"},"headline":"Create Customer Attribute Without using Installer in Magento 2.","datePublished":"2016-06-18T10:07:54+00:00","dateModified":"2024-02-26T04:27:10+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/"},"wordCount":93,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","keywords":["create attribute without installer","Create customer attribute in magento 2.0","magento2 create attribute without installer","magento2 customer attribute"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/","url":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/","name":"create customer attribute without using installer","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","datePublished":"2016-06-18T10:07:54+00:00","dateModified":"2024-02-26T04:27:10+00:00","description":"here we will learn, how to create customer attribute programmatically without using installer in magento 2.0.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/06\/Magneto-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/create-customer-attribute-without-using-installer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create Customer Attribute Without using Installer 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\/53d3b977a0ab5adcf32aef9f97e595bd","name":"Mahesh Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f4c013ebf7008223382b8a49203e6d354677e8baff0eca373e6e4266efa762da?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f4c013ebf7008223382b8a49203e6d354677e8baff0eca373e6e4266efa762da?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Mahesh Singh"},"url":"https:\/\/webkul.com\/blog\/author\/mahesh721\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/52393","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\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=52393"}],"version-history":[{"count":4,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/52393\/revisions"}],"predecessor-version":[{"id":424301,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/52393\/revisions\/424301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/50926"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=52393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=52393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=52393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}