{"id":340718,"date":"2022-06-28T07:28:21","date_gmt":"2022-06-28T07:28:21","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=340718"},"modified":"2025-09-19T08:06:40","modified_gmt":"2025-09-19T08:06:40","slug":"how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/","title":{"rendered":"How to Pass Data to Child Blocks in Magento 2"},"content":{"rendered":"\n<figure class=\"wk-remove-shadow wp-block-image size-full\"><img decoding=\"async\" width=\"526\" height=\"404\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp\" alt=\"pass-variable-cover\" class=\"wp-image-506991\" style=\"object-fit:cover\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp 526w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1-300x230.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1-250x192.webp 250w\" sizes=\"(max-width: 526px) 100vw, 526px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>How to Pass Dynamic Data to Child Blocks in Magento 2<\/strong><\/p>\n\n\n\n<p>In Magento 2, modular templates and blocks are the backbone of clean, maintainable frontend logic.<\/p>\n\n\n\n<p>Often, you\u2019ll want to pass dynamic data from a parent template to a child block during rendering. Let\u2019s explore <em>why<\/em> you&#8217;d do this, <em>how<\/em> to do it, and when it\u2019s better than alternative methods.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Why Pass Variables to Child Blocks?<\/strong><\/p>\n\n\n\n<p>A child block often needs to update its content based on dynamic context. <\/p>\n\n\n\n<p>For example, you might loop through customer addresses or show different output depending on configuration settings or user input.<\/p>\n\n\n\n<p>When the parent template already knows the required data at render time, it can pass that information directly to the child block.<\/p>\n\n\n\n<p>This approach keeps the structure modular: the parent decides what data to send and when to render, while the child block focuses only on presenting the output.<\/p>\n\n\n\n<p><strong>How Magento layout and template structure supports this<\/strong><\/p>\n\n\n\n<p>The layout XML defines both parent and child blocks under specific handles.<br>Child blocks must be declared so the parent can retrieve them via <code>getChildBlock()<\/code>.<\/p>\n\n\n\n<p>Moreover, this approach keeps presentation logical and modular.<br>For more about block and template structure, see Webkul\u2019s <a href=\"https:\/\/webkul.com\/blog\/magento-2-layout-and-templates\/\">Magento 2 Layout and Templates guide<\/a><\/p>\n\n\n\n<p>Sample Layout file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;page xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd&quot;&gt;\n    &lt;head&gt;\n        &lt;css src=&quot;Webkul_TimeSlotDelivery::css\/style.css&quot;\/&gt;\n    &lt;\/head&gt;\n    &lt;body&gt;\n        &lt;referenceBlock name=&quot;checkout_shipping&quot;&gt;\n            &lt;action method=&quot;setTemplate&quot;&gt;\n                &lt;argument name=&quot;template&quot; xsi:type=&quot;string&quot;&gt;Webkul_TimeSlotDelivery::checkout\/shipping.phtml&lt;\/argument&gt;\n            &lt;\/action&gt;\n            &lt;block class=&quot;Webkul\\TimeSlotDelivery\\Block\\MultiShipping\\MultiShippingSlots&quot; template=&quot;Webkul_TimeSlotDelivery::checkout\/multi_shipping.phtml&quot; name=&quot;multishipping_slots&quot;\/&gt;\n        &lt;\/referenceBlock&gt;\n    &lt;\/body&gt;\n&lt;\/page&gt;<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>Below is sample code for setting data and then rendering the child block in <code>.phtml<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/\/ In the parent .phtml template\nforeach ($addresses as $address) {\n    $block-&gt;getChildBlock(&#039;multishipping_slots&#039;)-&gt;setAddress($address);\n    echo $block-&gt;getChildHtml(&#039;multishipping_slots&#039;);\n}<\/pre>\n\n\n\n<p>Your child block class should define setter and getter:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function setAddress($address) {\n    $this-&gt;address = $address;\n    return $this;\n}\n\npublic function getAddress() {\n    return $this-&gt;address;\n}<\/pre>\n\n\n\n<p>This ensures each iteration passes fresh data to the child before HTML is rendered.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>When to use this approach vs alternatives<\/strong><\/p>\n\n\n\n<p>Use this method when output depends on dynamic data from parent, e.g., user-specific or looped values.<br>Otherwise, for static text or content, use layout XML arguments or translation methods.<\/p>\n\n\n\n<p>Also, be aware of caching\u2014blocks using this dynamic pattern may need to be non-cacheable or handled via AJAX.<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>In summary, you can pass custom dynamic data to child blocks by using <code>getChildBlock()<\/code> and a setter before <code>getChildHtml()<\/code>.<\/p>\n\n\n\n<p>Moreover, this pattern keeps your templates modular, maintains cleaner layout XML, and improves maintainability in Magento 2.<\/p>\n\n\n\n<p>For more details on how the layout XML handles block definitions and how Magento renders them, refer to Adobe\u2019s official guide on <a href=\"https:\/\/developer.adobe.com\/commerce\/frontend-core-guide\/layouts\/xml-instructions\/#block\">XML instructions for blocks<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Pass Dynamic Data to Child Blocks in Magento 2 In Magento 2, modular templates and blocks are the backbone of clean, maintainable frontend logic. Often, you\u2019ll want to pass dynamic data from a parent template to a child block during rendering. Let\u2019s explore why you&#8217;d do this, how to do it, and when <a href=\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":372,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9121],"tags":[2460,2070,106,590],"class_list":["post-340718","post","type-post","status-publish","format-standard","hentry","category-magento","category-magento-2","tag-magento-2","tag-magento2","tag-marketplace","tag-webkul"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Pass Data to Child Blocks in Magento 2 - Webkul Blog - Magento 2<\/title>\n<meta name=\"description\" content=\"How to pass variable in child html into template file in magento 2, how to set variable in childhtml in phtml file in magento 2\" \/>\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\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Pass Data to Child Blocks in Magento 2 - Webkul Blog - Magento 2\" \/>\n<meta property=\"og:description\" content=\"How to pass variable in child html into template file in magento 2, how to set variable in childhtml in phtml file in magento 2\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\" \/>\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=\"2022-06-28T07:28:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-19T08:06:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp\" \/>\n<meta name=\"author\" content=\"Sushil Kumar\" \/>\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=\"Sushil Kumar\" \/>\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\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\"},\"author\":{\"name\":\"Sushil Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/513087aa54cb0448c572658ecfcad038\"},\"headline\":\"How to Pass Data to Child Blocks in Magento 2\",\"datePublished\":\"2022-06-28T07:28:21+00:00\",\"dateModified\":\"2025-09-19T08:06:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\"},\"wordCount\":369,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp\",\"keywords\":[\"Magento 2\",\"Magento2\",\"marketplace\",\"webkul\"],\"articleSection\":[\"magento\",\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\",\"name\":\"How to Pass Data to Child Blocks in Magento 2 - Webkul Blog - Magento 2\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp\",\"datePublished\":\"2022-06-28T07:28:21+00:00\",\"dateModified\":\"2025-09-19T08:06:40+00:00\",\"description\":\"How to pass variable in child html into template file in magento 2, how to set variable in childhtml in phtml file in magento 2\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp\",\"width\":526,\"height\":404},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Pass Data to Child Blocks 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\/513087aa54cb0448c572658ecfcad038\",\"name\":\"Sushil Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?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\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sushil Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/sushil-kumar419\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Pass Data to Child Blocks in Magento 2 - Webkul Blog - Magento 2","description":"How to pass variable in child html into template file in magento 2, how to set variable in childhtml in phtml file in magento 2","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\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"How to Pass Data to Child Blocks in Magento 2 - Webkul Blog - Magento 2","og_description":"How to pass variable in child html into template file in magento 2, how to set variable in childhtml in phtml file in magento 2","og_url":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-06-28T07:28:21+00:00","article_modified_time":"2025-09-19T08:06:40+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp","type":"","width":"","height":""}],"author":"Sushil Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sushil Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/"},"author":{"name":"Sushil Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/513087aa54cb0448c572658ecfcad038"},"headline":"How to Pass Data to Child Blocks in Magento 2","datePublished":"2022-06-28T07:28:21+00:00","dateModified":"2025-09-19T08:06:40+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/"},"wordCount":369,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp","keywords":["Magento 2","Magento2","marketplace","webkul"],"articleSection":["magento","Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/","name":"How to Pass Data to Child Blocks in Magento 2 - Webkul Blog - Magento 2","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp","datePublished":"2022-06-28T07:28:21+00:00","dateModified":"2025-09-19T08:06:40+00:00","description":"How to pass variable in child html into template file in magento 2, how to set variable in childhtml in phtml file in magento 2","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/06\/pass-variable-cover-1.webp","width":526,"height":404},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-pass-variable-in-getchildhtml-in-phtml-file-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Pass Data to Child Blocks 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\/513087aa54cb0448c572658ecfcad038","name":"Sushil Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?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\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sushil Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/sushil-kumar419\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/340718","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\/372"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=340718"}],"version-history":[{"count":8,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/340718\/revisions"}],"predecessor-version":[{"id":507005,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/340718\/revisions\/507005"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=340718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=340718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=340718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}