{"id":105294,"date":"2017-12-19T11:19:07","date_gmt":"2017-12-19T11:19:07","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=105294"},"modified":"2019-07-18T12:23:51","modified_gmt":"2019-07-18T12:23:51","slug":"menu-item-joomla-rebuild-automatically","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/","title":{"rendered":"Create menu item in Joomla and rebuild Automatically"},"content":{"rendered":"<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Introduction<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>If we want to create menu item from your custom component in Joomla as there is no documentation or method in Joomla API, so we have to create it using the database. But when we do it directly we are not able to make complete entries for it as we can&#8217;t populate values for lft and rgt fields by using query and logic, and these values are also very important in Joomla for Ordering.<br \/>\nThe process to create menu item from a custom component is to first create a menu type entry and also a corresponding entry in the Assets then we can create the menu items as per Joomla Standards.<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Implementation<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>To Create a proper menu item you need to follow the steps:<\/p>\n<p>**Please note the methods called below are not in any class in this case if you add these methods to a class please use proper instance to call them<\/p>\n<p>In your code add<\/p>\n<pre class=\"brush:php\">\/**\n * Webkul Software.\n *\n * @category  Webkul\n * @author    Webkul\n * @copyright Copyright (c) 2010-2016 Webkul Software Private Limited (https:\/\/webkul.com)\n * @license   https:\/\/store.webkul.com\/license.html\n *\/\nif (createMenutype('custom', 'Custom') === true) {\n    createMenuitem(\n        'custom', 'My Custom MenuItem',\n        'index.php?option=com_custom&amp;view=custom',\n        array( 'component_id' =&gt; (int)$component_id)\n    );\n}\n\/\/ with this code you are done.<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Method&#8217;s Defination<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<pre class=\"brush:php\">\/**\n * Webkul Software.\n *\n * @category  Webkul\n * @author    Webkul\n * @copyright Copyright (c) 2010-2016 Webkul Software Private Limited (https:\/\/webkul.com)\n * @license   https:\/\/store.webkul.com\/license.html\n *\n * CreateMenuitem function\n *\n * @param [type] $menuType   var\n * @param [type] $title      var\n * @param [type] $url        var\n * @param array  $properties var\n * \n * @return void\n *\/\nfunction createMenuitem(\n    $menuType, $title, $url, $properties = array()\n) {\n    $alias = trim(\n        preg_replace(\n            '\/_+\/', '-', preg_replace(\n                '\/\\W+\/', '', str_replace(\n                    ' ', '_', str_replace('_', '', trim(strtolower($title)))\n                )\n            )\n        )\n    );\n    $table = JTable::getInstance('Menu');\n    while ( $table-&gt;load(array('alias' =&gt; $alias))) {\n        $matches = null;\n        if (preg_match('#-(\\d+)$#', $alias, $matches)) {\n            $alias = preg_replace(\n                '#-(\\d+)$#', '-' . ($matches[1] + 1) . '', $alias\n            );\n        } else {\n            $alias .= '-2';\n        }\n    }\n\n    $menu = JTable::getInstance('menu');\n    $menu-&gt;menutype    = $menuType;\n    $menu-&gt;title    = $title;\n    $menu-&gt;alias    = $alias;\n    $menu-&gt;link     = $url;\n    $menu-&gt;type     = 'component';\n    $menu-&gt;language    = '*';\n    $menu-&gt;published   = 1;\n\n    if ($properties) {\n        $menu-&gt;bind($properties);\n    }\n\n    $menu-&gt;check();\n    if (!$menu-&gt;store()) {\n        return false;\n    } else {\n        if (!$menu-&gt;parent_id) {\n            $menu-&gt;parent_id = 1;\n        }\n        if (! $menu-&gt;level) {\n            $menu-&gt;level  = 1;\n        }\n\n        if (!$menu-&gt;store()) {\n            return false;\n        }\n    }\n    return true;\n}\n\n\n\n\/**\n * Webkul Software.\n *\n * @category  Webkul\n * @author    Webkul\n * @copyright Copyright (c) 2010-2016 Webkul Software Private Limited (https:\/\/webkul.com)\n * @license   https:\/\/store.webkul.com\/license.html\n *\n * CreateMenutype function\n *\n * @param [type] $type        var\n * @param [type] $title       var\n * @param [type] $description var\n * @param array  $properties  var\n * \n * @return void\n *\/\nfunction createMenutype(\n    $type, $title, $description = null, $properties = array()\n) {\n    $menuType = JTable::getInstance('MenuType');\n    if (!$menuType-&gt;load(array('menutype' =&gt; $type))) {\n        $menuType-&gt;menutype  = $type;\n        $menuType-&gt;title  = $title;\n        $menuType-&gt;description = $description;\n\n        if ($properties) {\n            $menuType-&gt;bind($properties);\n        }\n        $menuType-&gt;check();\n        if (!$menuType-&gt;store()) {\n            return false;\n        }\n    } else {\n        return null;\n    }\n    return true;\n}<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Conclusion<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>When creating the menu item in Joomla using with this all entries will be filled as per Joomla.<\/p>\n<p>The corresponding entry for the menutype will be created in the #__assets with the lft and rgt,&nbsp;also you do not need to worry about the lft and rgt value in the #__menuitem as they will be filled when the JTable store() method is called, so you will not require to rebuild the menu items.<\/p>\n<p>If you find this helpful please like and Share, so others can also find this solution.<\/p>\n<p>If you have any query please feel free to comment below.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction If we want to create menu item from your custom component in Joomla as there is no documentation or method in Joomla API, so we have to create it using the database. But when we do it directly we are not able to make complete entries for it as we can&#8217;t populate values for <a href=\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":137,"featured_media":90791,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,259],"tags":[261,5927,5928,5929],"class_list":["post-105294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-joomla-2","category-joomla3-0","tag-joomla3-0-2","tag-jtable","tag-menu-item","tag-menu-rebuild"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create menu item in Joomla and rebuild Automatically - Webkul Blog<\/title>\n<meta name=\"description\" content=\"The process to create menu item from a custom component is to first create a menu type entry and also a corresponding entry in the Assets then we can create the menu items as per Joomla Standards.\" \/>\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\/menu-item-joomla-rebuild-automatically\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create menu item in Joomla and rebuild Automatically - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"The process to create menu item from a custom component is to first create a menu type entry and also a corresponding entry in the Assets then we can create the menu items as per Joomla Standards.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/\" \/>\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=\"2017-12-19T11:19:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-18T12:23:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-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=\"Pratyush Painuly\" \/>\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=\"Pratyush Painuly\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/\"},\"author\":{\"name\":\"Pratyush Painuly\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/09ba9faa7284860facd76a7417884a4b\"},\"headline\":\"Create menu item in Joomla and rebuild Automatically\",\"datePublished\":\"2017-12-19T11:19:07+00:00\",\"dateModified\":\"2019-07-18T12:23:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/\"},\"wordCount\":271,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png\",\"keywords\":[\"joomla3.0\",\"JTable\",\"Menu Item\",\"Menu Rebuild\"],\"articleSection\":[\"Joomla\",\"Joomla3.0\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/\",\"url\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/\",\"name\":\"Create menu item in Joomla and rebuild Automatically - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png\",\"datePublished\":\"2017-12-19T11:19:07+00:00\",\"dateModified\":\"2019-07-18T12:23:51+00:00\",\"description\":\"The process to create menu item from a custom component is to first create a menu type entry and also a corresponding entry in the Assets then we can create the menu items as per Joomla Standards.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png\",\"width\":825,\"height\":260,\"caption\":\"Joomla-MenuItem\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create menu item in Joomla and rebuild Automatically\"}]},{\"@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\/09ba9faa7284860facd76a7417884a4b\",\"name\":\"Pratyush Painuly\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/23b59c0d79e4ae21b0acb71f36295738ce2cfd750334e33458478999114d0737?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\/23b59c0d79e4ae21b0acb71f36295738ce2cfd750334e33458478999114d0737?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Pratyush Painuly\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/pratyush-painuly369\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create menu item in Joomla and rebuild Automatically - Webkul Blog","description":"The process to create menu item from a custom component is to first create a menu type entry and also a corresponding entry in the Assets then we can create the menu items as per Joomla Standards.","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\/menu-item-joomla-rebuild-automatically\/","og_locale":"en_US","og_type":"article","og_title":"Create menu item in Joomla and rebuild Automatically - Webkul Blog","og_description":"The process to create menu item from a custom component is to first create a menu type entry and also a corresponding entry in the Assets then we can create the menu items as per Joomla Standards.","og_url":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-12-19T11:19:07+00:00","article_modified_time":"2019-07-18T12:23:51+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png","type":"image\/png"}],"author":"Pratyush Painuly","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Pratyush Painuly","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/"},"author":{"name":"Pratyush Painuly","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/09ba9faa7284860facd76a7417884a4b"},"headline":"Create menu item in Joomla and rebuild Automatically","datePublished":"2017-12-19T11:19:07+00:00","dateModified":"2019-07-18T12:23:51+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/"},"wordCount":271,"commentCount":8,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png","keywords":["joomla3.0","JTable","Menu Item","Menu Rebuild"],"articleSection":["Joomla","Joomla3.0"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/","url":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/","name":"Create menu item in Joomla and rebuild Automatically - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png","datePublished":"2017-12-19T11:19:07+00:00","dateModified":"2019-07-18T12:23:51+00:00","description":"The process to create menu item from a custom component is to first create a menu type entry and also a corresponding entry in the Assets then we can create the menu items as per Joomla Standards.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/Joomla-Code-Snippet.png","width":825,"height":260,"caption":"Joomla-MenuItem"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/menu-item-joomla-rebuild-automatically\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create menu item in Joomla and rebuild Automatically"}]},{"@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\/09ba9faa7284860facd76a7417884a4b","name":"Pratyush Painuly","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/23b59c0d79e4ae21b0acb71f36295738ce2cfd750334e33458478999114d0737?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\/23b59c0d79e4ae21b0acb71f36295738ce2cfd750334e33458478999114d0737?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Pratyush Painuly"},"url":"https:\/\/webkul.com\/blog\/author\/pratyush-painuly369\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/105294","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\/137"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=105294"}],"version-history":[{"count":5,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/105294\/revisions"}],"predecessor-version":[{"id":187410,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/105294\/revisions\/187410"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/90791"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=105294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=105294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=105294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}