{"id":379871,"date":"2023-05-18T10:13:24","date_gmt":"2023-05-18T10:13:24","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=379871"},"modified":"2024-06-05T12:11:47","modified_gmt":"2024-06-05T12:11:47","slug":"how-to-add-and-remove-user-capabilities-in-woocommerce","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/","title":{"rendered":"How to add and remove user capabilities in woocommerce"},"content":{"rendered":"\n<p>When you install a WordPress site, you also create a users with administrator. In this tutorial, I will show you how to add and remove capabilities of different roles in wordpress.<\/p>\n\n\n\n<p>In order to manage roles and capabilities effectively there are five function in wordpress<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>add_role()<\/strong>: Enables you to add a custom role.<\/li>\n\n\n\n<li><strong>remove_role()<\/strong>: Enables you to remove a custom role.<\/li>\n\n\n\n<li><strong>add_cap()<\/strong>: Enables you to add a custom capability to a role.<\/li>\n\n\n\n<li><strong>remove_cap()<\/strong>: Enables you to remove a custom capability from a role.<\/li>\n\n\n\n<li><strong>get_role()<\/strong>: Gets information about a role as well as the capabilities associated with the role.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why we need to add and remove capability<\/h2>\n\n\n\n<p>WordPress comes with a built-in user with their roles and capabilities.<\/p>\n\n\n\n<p>If you run a wordpress blog with multiple authors and you want to remove and give access to authors for specific roles so they cannot perform it and you don\u2019t want that author delete(trash) their published post&nbsp;.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">function wk_remove_author_capabilities() {\n$author = get_role( &#039;author&#039; );\n   if(empty(wk_get_current_user())){\n       $author-&gt;remove_cap( &#039;delete_published_posts&#039; );\n   }else {\n       $author-&gt;add_cap( &#039;delete_published_posts&#039; );\n   }\n}\n\nadd_action( &#039;admin_init&#039;, &#039;wk_remove_author_capabilities&#039; );<\/pre>\n\n\n\n<p>Here you can see we add capability to the author when function (wk_get_current_user) return something otherwise it will remove the author capability.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"817\" height=\"492\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png\" alt=\"remove capabilities of different roles \" class=\"wp-image-379891\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png 817w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap-300x181.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap-250x151.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap-768x462.png 768w\" sizes=\"(max-width: 817px) 100vw, 817px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>You can clearly see that trash button from the published post is disappeared.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to remove multiple capabilities of the user?<\/h2>\n\n\n\n<p>In this example i&#8217;ll show you how manipulate multiple capabilities at same time, here we remove the capability of deleting the post and pages from the author .<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">function wk_remove_author_capabilities() {\n$author = get_role( &#039;author&#039; );\n$capability = array(\n&#039;delete_posts&#039;,\n&#039;delete_private_pages&#039;,\n&#039;delete_private_posts&#039;,\n&#039;delete_published_pages&#039;,\n&#039;delete_published_posts&#039;,\n);\nforeach ( $capability as $cap ) {\n    $author-&gt;remove_cap( $cap );\n    }\n}\n\nadd_action( &#039;admin_init&#039;, &#039;wk_remove_author_capabilities&#039;);<\/pre>\n\n\n\n<p>Note: If you want to add capability just replace ( remove_cap ) with ( add_cap ).<\/p>\n\n\n\n<p>This is all about add and remove user capabilities.<\/p>\n\n\n\n<p><strong>References<\/strong> : https:\/\/developer.wordpress.org\/<\/p>\n\n\n\n<p>Thank You!<\/p>\n\n\n\n<p>If you need custom\u00a0<a href=\"https:\/\/webkul.com\/wordpress-theme-development-services\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Development services<\/a>\u00a0then feel free to\u00a0<a href=\"https:\/\/webkul.com\/contacts\" target=\"_blank\" rel=\"noreferrer noopener\">reach us<\/a>\u00a0and also explore our exclusive range of\u00a0<a href=\"https:\/\/store.webkul.com\/woocommerce-plugins.html\">WooCommerce Extensions<\/a>.<\/p>\n\n\n\n<p>!!Have a Great Day Ahead!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you install a WordPress site, you also create a users with administrator. In this tutorial, I will show you how to add and remove capabilities of different roles in wordpress. In order to manage roles and capabilities effectively there are five function in wordpress Why we need to add and remove capability WordPress comes <a href=\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":502,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1773],"tags":[1468,1511,1258,13679],"class_list":["post-379871","post","type-post","status-publish","format-standard","hentry","category-woocommerce","tag-woocommerce","tag-woocommerce-plugins","tag-wordpress","tag-wordpress-development-services"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to add and remove user capabilities in woocommerce<\/title>\n<meta name=\"description\" content=\"how to add or remove capabilities of different roles that which user will edit, delete, draft posts or pages in wordpress\" \/>\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-add-and-remove-user-capabilities-in-woocommerce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add and remove user capabilities in woocommerce\" \/>\n<meta property=\"og:description\" content=\"how to add or remove capabilities of different roles that which user will edit, delete, draft posts or pages in wordpress\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/\" \/>\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=\"2023-05-18T10:13:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-05T12:11:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png\" \/>\n<meta name=\"author\" content=\"Nitish Vashistha\" \/>\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=\"Nitish Vashistha\" \/>\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-add-and-remove-user-capabilities-in-woocommerce\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/\"},\"author\":{\"name\":\"Nitish Vashistha\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/21ea8837939ca1f0a79992be08afe9d3\"},\"headline\":\"How to add and remove user capabilities in woocommerce\",\"datePublished\":\"2023-05-18T10:13:24+00:00\",\"dateModified\":\"2024-06-05T12:11:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/\"},\"wordCount\":301,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png\",\"keywords\":[\"WooCommerce\",\"woocommerce plugins\",\"wordpress\",\"wordpress development services\"],\"articleSection\":[\"WooCommerce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/\",\"name\":\"How to add and remove user capabilities in woocommerce\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png\",\"datePublished\":\"2023-05-18T10:13:24+00:00\",\"dateModified\":\"2024-06-05T12:11:47+00:00\",\"description\":\"how to add or remove capabilities of different roles that which user will edit, delete, draft posts or pages in wordpress\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png\",\"width\":817,\"height\":492,\"caption\":\"cap\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add and remove user capabilities in woocommerce\"}]},{\"@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\/21ea8837939ca1f0a79992be08afe9d3\",\"name\":\"Nitish Vashistha\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a74461f8bd2ea3656105ffbe4b82c99401b2ffbc5906a2a14aa74d1c343a5997?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\/a74461f8bd2ea3656105ffbe4b82c99401b2ffbc5906a2a14aa74d1c343a5997?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Nitish Vashistha\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/nitish-wp634\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add and remove user capabilities in woocommerce","description":"how to add or remove capabilities of different roles that which user will edit, delete, draft posts or pages in wordpress","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-add-and-remove-user-capabilities-in-woocommerce\/","og_locale":"en_US","og_type":"article","og_title":"How to add and remove user capabilities in woocommerce","og_description":"how to add or remove capabilities of different roles that which user will edit, delete, draft posts or pages in wordpress","og_url":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-05-18T10:13:24+00:00","article_modified_time":"2024-06-05T12:11:47+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png","type":"","width":"","height":""}],"author":"Nitish Vashistha","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Nitish Vashistha","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/"},"author":{"name":"Nitish Vashistha","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/21ea8837939ca1f0a79992be08afe9d3"},"headline":"How to add and remove user capabilities in woocommerce","datePublished":"2023-05-18T10:13:24+00:00","dateModified":"2024-06-05T12:11:47+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/"},"wordCount":301,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png","keywords":["WooCommerce","woocommerce plugins","wordpress","wordpress development services"],"articleSection":["WooCommerce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/","url":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/","name":"How to add and remove user capabilities in woocommerce","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png","datePublished":"2023-05-18T10:13:24+00:00","dateModified":"2024-06-05T12:11:47+00:00","description":"how to add or remove capabilities of different roles that which user will edit, delete, draft posts or pages in wordpress","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/cap.png","width":817,"height":492,"caption":"cap"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-add-and-remove-user-capabilities-in-woocommerce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to add and remove user capabilities in woocommerce"}]},{"@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\/21ea8837939ca1f0a79992be08afe9d3","name":"Nitish Vashistha","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a74461f8bd2ea3656105ffbe4b82c99401b2ffbc5906a2a14aa74d1c343a5997?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\/a74461f8bd2ea3656105ffbe4b82c99401b2ffbc5906a2a14aa74d1c343a5997?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Nitish Vashistha"},"url":"https:\/\/webkul.com\/blog\/author\/nitish-wp634\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/379871","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\/502"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=379871"}],"version-history":[{"count":27,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/379871\/revisions"}],"predecessor-version":[{"id":445875,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/379871\/revisions\/445875"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=379871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=379871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=379871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}