{"id":305170,"date":"2021-09-11T15:07:05","date_gmt":"2021-09-11T15:07:05","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=305170"},"modified":"2024-06-17T11:15:16","modified_gmt":"2024-06-17T11:15:16","slug":"add-actions-in-acl-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/","title":{"rendered":"Add Actions in ACL in Magento 2"},"content":{"rendered":"\n<p>In this blog, we will learn to Add Actions in ACL in Magento 2.<br>In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages.<\/p>\n\n\n\n<p>And when the admin creates a new role, he can assign the menu access to that role using Access Control List concept.<\/p>\n\n\n\n<p>Here we are going to learn how we can add some additional actions in ACL which are not on the menu list.<br>Let&#8217;s follow the following steps:<\/p>\n\n\n\n<p>1. Create menu.xml file inside the app\/code\/Vendor\/CustomModule\/etc\/adminhtml directory.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:module:Magento_Backend:etc\/menu.xsd&quot;&gt;\n    &lt;menu&gt;\n        &lt;add\n            id=&quot;Vendor_Module::manager&quot;\n            title=&quot;Blogs Manager&quot;\n            module=&quot;Vendor_Module&quot;\n            sortOrder=&quot;10&quot;\n            resource=&quot;Vendor_Module::manager&quot; \/&gt;\n            \n        &lt;add \n            id=&quot;Vendor_Module::index&quot; \n            title=&quot;Blogs&quot; \n            module=&quot;Vendor_Module&quot; \n            sortOrder=&quot;12&quot; \n            parent=&quot;Vendor_Module::manager&quot; \n            action=&quot;route\/controller\/index&quot; \n            resource=&quot;Vendor_Module::index&quot; \/&gt;\n        \n        &lt;add \n            id=&quot;Vendor_Module::configuration&quot; \n            title=&quot;Blogs Configuration&quot; \n            module=&quot;Vendor_Module&quot; \n            parent=&quot;Vendor_Module::manager&quot; \n            sortOrder=&quot;16&quot; \n            action=&quot;adminhtml\/system_config\/edit\/section\/route\/&quot; \n            resource=&quot;Vendor_Module::configuration&quot;\/&gt;\n\n    &lt;\/menu&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<p>2. Create acl.xml file inside Vendor\/Module\/etc\/ directory.<br><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot; ?&gt;\n\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:Acl\/etc\/acl.xsd&quot;&gt;\n\t&lt;acl&gt;\n\t\t&lt;resources&gt;\n\t\t\t&lt;resource id=&quot;Magento_Backend::admin&quot;&gt;\n                &lt;resource id=&quot;Vendor_Module::manager&quot; title=&quot;Blogs Menu&quot; sortOrder=&quot;90&quot;&gt;\n                    &lt;resource id=&quot;Vendor_Module::index&quot; title=&quot;Blogs&quot; translate=&quot;title&quot; sortOrder=&quot;50&quot;&gt;\n                        &lt;resource id=&quot;Vendor_Module::actions&quot; title=&quot;Actions&quot; translate=&quot;title&quot; sortOrder=&quot;10&quot;&gt;\n                            &lt;resource id=&quot;Vendor_Module::masscancel&quot; title=&quot;MassCancel&quot; translate=&quot;title&quot; sortOrder=&quot;130&quot; \/&gt;\n                        &lt;\/resource&gt;\n                    &lt;\/resource&gt;\n                    &lt;resource id=&quot;Vendor_Module::configuration&quot; \n                        title=&quot;Blogs Configuration&quot; sortOrder=&quot;52&quot; \/&gt;\n                &lt;\/resource&gt;\n                &lt;resource id=&quot;Magento_Backend::stores&quot;&gt;\n                    &lt;resource id=&quot;Magento_Backend::stores_settings&quot;&gt;\n                        &lt;resource id=&quot;Vendor_Module::config_blogs&quot; \n                            title=&quot;Blogs Configuration&quot; sortOrder=&quot;50&quot;\/&gt;\n                    &lt;\/resource&gt;\n                &lt;\/resource&gt;\n            &lt;\/resource&gt;\n\t\t&lt;\/resources&gt;\n\t&lt;\/acl&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<p>3. Create action controller MassAction.php file inside app\/code\/Vendor\/Module\/Controller\/Adminhtml\/Index\/ directory.<br><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\nnamespace Vendor\\Module\\Controller\\Adminhtml\\Index;\n\nclass MassCancel extends \\Magento\\Backend\\App\\Action\n{\n    \/**\n     * __construct\n     *\n     * @param \\Magento\\Backend\\App\\Action\\Context $context\n     *\/\n    public function __construct(\n        \\Magento\\Backend\\App\\Action\\Context $context\n    ) {\n        parent::__construct($context);\n    }\n\n    \/**\n     * MassCancel Action\n     *\n     * @return \\Magento\\Framework\\App\\ResponseInterface\n     *\/\n    public function execute()\n    {\n        try {\n            \/\/write your code here\n        } catch (\\Exception $e) {\n            $this-&gt;messageManager-&gt;addError($e-&gt;getMessage());\n        }\n        $this-&gt;_redirect(&quot;*\/*\/index&quot;);\n    }\n    \n    \/**\n     * Check if user has permissions to access this controller\n     *\n     * @return bool\n     *\/\n    protected function _isAllowed()\n    {\n        return $this-&gt;_authorization-&gt;isAllowed(&quot;Vendor_Module::masscancel&quot;);\n    }\n}<\/pre>\n\n\n\n<p>4. After login into the admin section. Result will be as following images:<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"571\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-1200x571.png\" alt=\"download-2-1\" class=\"wp-image-305173\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-1200x571.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-300x143.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-250x119.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-768x366.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-1536x731.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1.png 1886w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Module&#8217;s Menu<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"576\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-3-1200x576.png\" alt=\"download-3\" class=\"wp-image-305174\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-3-1200x576.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-3-300x144.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-3-250x120.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-3-768x368.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-3-1536x737.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-3.png 1901w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Menu and Action in ACL when creating new Role<\/figcaption><\/figure>\n\n\n\n<p>Hope this will be helpful. Thanks \ud83d\ude42<br><br><strong>Next Blog:<\/strong> <a href=\"https:\/\/webkul.com\/blog\/make-submenu-position-right-adjacent-of-parent-menu-at-frontend-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">Make Submenu position right adjacent of parent menu at frontend in Magento 2<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we will learn to Add Actions in ACL in Magento 2.In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages. And when the admin creates a new role, he can assign the menu access to that role using <a href=\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":249,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121,302],"tags":[7438,6978],"class_list":["post-305170","post","type-post","status-publish","format-standard","hentry","category-magento-2","category-magento2","tag-acl","tag-actions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add Actions in ACL (Access Control List) in Magento 2<\/title>\n<meta name=\"description\" content=\"n this blog, we will learn to Add Actions in ACL in Magento 2. In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages. And when the admin creates a new role, he can assign the menu access to that role using Access Control List concept. Here we are going to learn how we can add some additional actions in ACL which are not on the menu list. Let&#039;s follow the following steps: 1. Create menu.xml file inside the app\/code\/Vendor\/CustomModule\/etc\/adminhtml directory.\" \/>\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\/add-actions-in-acl-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add Actions in ACL (Access Control List) in Magento 2\" \/>\n<meta property=\"og:description\" content=\"n this blog, we will learn to Add Actions in ACL in Magento 2. In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages. And when the admin creates a new role, he can assign the menu access to that role using Access Control List concept. Here we are going to learn how we can add some additional actions in ACL which are not on the menu list. Let&#039;s follow the following steps: 1. Create menu.xml file inside the app\/code\/Vendor\/CustomModule\/etc\/adminhtml directory.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/add-actions-in-acl-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=\"2021-09-11T15:07:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-17T11:15:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-1200x571.png\" \/>\n<meta name=\"author\" content=\"Khushboo 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=\"Khushboo 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\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/\",\"name\":\"Add Actions in ACL (Access Control List) in Magento 2\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-1200x571.png\",\"datePublished\":\"2021-09-11T15:07:05+00:00\",\"dateModified\":\"2024-06-17T11:15:16+00:00\",\"description\":\"n this blog, we will learn to Add Actions in ACL in Magento 2. In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages. And when the admin creates a new role, he can assign the menu access to that role using Access Control List concept. Here we are going to learn how we can add some additional actions in ACL which are not on the menu list. Let's follow the following steps: 1. Create menu.xml file inside the app\/code\/Vendor\/CustomModule\/etc\/adminhtml directory.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1.png\",\"width\":1886,\"height\":898,\"caption\":\"download-2-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Actions in ACL 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\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add Actions in ACL (Access Control List) in Magento 2","description":"n this blog, we will learn to Add Actions in ACL in Magento 2. In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages. And when the admin creates a new role, he can assign the menu access to that role using Access Control List concept. Here we are going to learn how we can add some additional actions in ACL which are not on the menu list. Let's follow the following steps: 1. Create menu.xml file inside the app\/code\/Vendor\/CustomModule\/etc\/adminhtml directory.","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\/add-actions-in-acl-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Add Actions in ACL (Access Control List) in Magento 2","og_description":"n this blog, we will learn to Add Actions in ACL in Magento 2. In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages. And when the admin creates a new role, he can assign the menu access to that role using Access Control List concept. Here we are going to learn how we can add some additional actions in ACL which are not on the menu list. Let's follow the following steps: 1. Create menu.xml file inside the app\/code\/Vendor\/CustomModule\/etc\/adminhtml directory.","og_url":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2021-09-11T15:07:05+00:00","article_modified_time":"2024-06-17T11:15:16+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-1200x571.png","type":"","width":"","height":""}],"author":"Khushboo Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Khushboo Sahu","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/","name":"Add Actions in ACL (Access Control List) in Magento 2","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1-1200x571.png","datePublished":"2021-09-11T15:07:05+00:00","dateModified":"2024-06-17T11:15:16+00:00","description":"n this blog, we will learn to Add Actions in ACL in Magento 2. In Magento 2, when we create a module that contains some functionality in the admin section. We create a menu to access the pages. And when the admin creates a new role, he can assign the menu access to that role using Access Control List concept. Here we are going to learn how we can add some additional actions in ACL which are not on the menu list. Let's follow the following steps: 1. Create menu.xml file inside the app\/code\/Vendor\/CustomModule\/etc\/adminhtml directory.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/download-2-1.png","width":1886,"height":898,"caption":"download-2-1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/add-actions-in-acl-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Add Actions in ACL 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\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/305170","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\/249"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=305170"}],"version-history":[{"count":7,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/305170\/revisions"}],"predecessor-version":[{"id":448280,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/305170\/revisions\/448280"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=305170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=305170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=305170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}