{"id":225343,"date":"2020-01-24T07:26:00","date_gmt":"2020-01-24T07:26:00","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=225343"},"modified":"2020-01-24T11:17:52","modified_gmt":"2020-01-24T11:17:52","slug":"add-your-own-entity-for-email-templating-in-oro-commerce","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/","title":{"rendered":"Add your Own Entity, for Email Templating in Oro Commerce"},"content":{"rendered":"\n<p>To make entity available for the email template you need to make it configurable with the Config Annotation.<\/p>\n\n\n\n<p>To make the SellerReview entity available for templating, simply import the @Config annotation and use it in the class.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\MarketplaceBundle\\Entity;\n\nuse Doctrine\\ORM\\Mapping as ORM;\nuse Oro\\Bundle\\EntityConfigBundle\\Metadata\\Annotation\\Config;\n\n\/**\n * SellerReview.\n *\n * @ORM\\Entity\n * @ORM\\Table(name=&quot;wk_mp_seller_reviews&quot;)\n * @Config()\n *\/\nclass SellerReview\n{\n    \/**\n     * @var int\n     *\/\n    private $id;\n\n    \/**\n     * @var string\n     *\/\n    private $heading;\n\n    \/**\n     * @var string\n     *\/\n    private $text;\n\n    \/**\n     * @var \\DateTime\n     *\/\n    private $createdAt;<\/pre>\n\n\n\n<p>You can also change the default value of each configurable option using the default values argument:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n \nnamespace MarketplaceBundle\\Entity;\n \nuse Doctrine\\ORM\\Mapping as ORM;\nuse Oro\\Bundle\\EntityConfigBundle\\Metadata\\Annotation\\Config;\nuse Oro\\Bundle\\EntityConfigBundle\\Metadata\\Annotation\\ConfigField;\n \n\/**\n * SellerReview.\n *\n * @ORM\\Entity\n * @ORM\\Table(name=&quot;wk_mp_seller_reviews&quot;)\n * @Config(\n *     defaultValues={\n *         &quot;wk_mp_seller_reviews&quot;={\n *             &quot;comment&quot;=&quot;reviews&quot;\n *         }\n *     }\n * )\n *\/\nclass SellerReview\n{\n    \/**\n     * @var int\n     *\/\n    private $id;\n \n    \/**\n     * @var string\n     *\/\n    private $heading;\n \n    \/**\n     * @var string\n     *\/\n    private $text;\n \n    \/**\n     * @var \\DateTime\n     *\/\n    private $createdAt;\n \n    \/**\n     * @var bool\n     *\/<\/pre>\n\n\n\n<p>Then you need to register this function in the Email templates using the Twig environment.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\MarketplaceBundle\\Twig;\n\nuse Twig\\Extension\\AbstractExtension;\nuse Webkul\\MarketplaceBundle\\Entity\\Transaction;\nuse Twig\\TwigFunction;\n\nclass EmailTwigExtension extends AbstractExtension\n{\n    public function getFunctions()\n    {\n        return [new TwigFunction(&#039;getseller&#039;, [$this, &#039;getSomeVariableValue&#039;])];\n    }\n\n    public function getSomeVariableValue(Transaction $entity): array\n    {\n        $result[] = [\n                &#039;seller&#039; =&gt; $entity-&gt;getAmount(),\n            ];\n\n        return $result;\n    }\n}<\/pre>\n\n\n\n<p>Register the Twig extension in the DI container:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">wk_seller_product.twig.my_extension:\n        class: Webkul\\MarketplaceBundle\\Twig\\EmailTwigExtension\n        public: false\n        tags:\n            - { name: twig.extension }<\/pre>\n\n\n\n<p>Create a DI compiler pass to register the created extension and function in the Email Twig Environment:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\MarketplaceBundle\\DependencyInjection\\CompilerPass;\n\nuse Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface;\nuse Symfony\\Component\\DependencyInjection\\ContainerBuilder;\nuse Symfony\\Component\\DependencyInjection\\Reference;\n\nclass TwigSandboxConfigurationPass implements CompilerPassInterface\n{\n    const EMAIL_TEMPLATE_SANDBOX_SECURITY_POLICY_SERVICE_KEY = &#039;oro_email.twig.email_security_policy&#039;;\n    const EMAIL_TEMPLATE_RENDERER_SERVICE_KEY = &#039;oro_email.email_renderer&#039;;\n\n    \/**\n     * {@inheritdoc}\n     *\/\n    public function process(ContainerBuilder $container)\n    {\n        $securityPolicyDef = $container-&gt;getDefinition(&#039;oro_email.twig.email_security_policy&#039;);\n\n        $securityPolicyDef-&gt;replaceArgument(\n            4,\n            array_merge($securityPolicyDef-&gt;getArgument(4), [&#039;getseller&#039;])\n        );\n\n        $container-&gt;getDefinition(&#039;oro_email.email_renderer&#039;)\n            -&gt;addMethodCall(&#039;addExtension&#039;, [new Reference(&#039;wk_seller_product.twig.my_extension&#039;)]);\n    }\n}<\/pre>\n\n\n\n<p>Register the created compiler pass:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\MarketplaceBundle;\n\nuse Symfony\\Component\\HttpKernel\\Bundle\\Bundle;\nuse Webkul\\MarketplaceBundle\\DependencyInjection\\CompilerPass\\TwigSandboxConfigurationPass;\nuse Symfony\\Component\\DependencyInjection\\ContainerBuilder;\n\nclass WebkulMarketplaceBundle extends Bundle\n{\n    public function build(ContainerBuilder $container)\n    {\n        $container-&gt;addCompilerPass(new TwigSandboxConfigurationPass());\n\n        parent::build($container);\n    }\n}<\/pre>\n\n\n\n<p><strong>Once you complete these steps, &#8220;your entity function&#8221; becomes available in Email templates.<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em> I have explored these things while creating module for <a href=\"https:\/\/store.webkul.com\/orocommerce-multi-vendor-marketplace.html\">OroCommerce Multi-Vendor Marketplace<\/a><\/em>.<\/p><\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>Thanks for reading me. I hope you\u2019ll get an idea of how you can use your entity for email templating in  Oro-Commerce, please share your reviews on this, that will support me to write more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To make entity available for the email template you need to make it configurable with the Config Annotation. To make the SellerReview entity available for templating, simply import the @Config annotation and use it in the class. You can also change the default value of each configurable option using the default values argument: Then you <a href=\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":256,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8460,723],"tags":[5576,6836],"class_list":["post-225343","post","type-post","status-publish","format-standard","hentry","category-orocommerce","category-orocrm","tag-email-templates","tag-orocommerce"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add your Own Entity, for Email Templating in Oro Commerce - Webkul Blog<\/title>\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-your-own-entity-for-email-templating-in-oro-commerce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add your Own Entity, for Email Templating in Oro Commerce - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"To make entity available for the email template you need to make it configurable with the Config Annotation. To make the SellerReview entity available for templating, simply import the @Config annotation and use it in the class. You can also change the default value of each configurable option using the default values argument: Then you [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/\" \/>\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=\"2020-01-24T07:26:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-24T11:17:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aman Srivastava\" \/>\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=\"Aman Srivastava\" \/>\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\/add-your-own-entity-for-email-templating-in-oro-commerce\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/\"},\"author\":{\"name\":\"Aman Srivastava\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/b6b03ea4e197f85885540adcc211c257\"},\"headline\":\"Add your Own Entity, for Email Templating in Oro Commerce\",\"datePublished\":\"2020-01-24T07:26:00+00:00\",\"dateModified\":\"2020-01-24T11:17:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/\"},\"wordCount\":169,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"keywords\":[\"Email Templates\",\"OroCommerce\"],\"articleSection\":[\"OroCommerce\",\"orocrm\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/\",\"url\":\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/\",\"name\":\"Add your Own Entity, for Email Templating in Oro Commerce - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2020-01-24T07:26:00+00:00\",\"dateModified\":\"2020-01-24T11:17:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add your Own Entity, for Email Templating in Oro Commerce\"}]},{\"@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\/b6b03ea4e197f85885540adcc211c257\",\"name\":\"Aman Srivastava\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9e2a21603a36ed39df73da3f8c6de1f577028c8e3d83f17e09d26dbfa6e647d8?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\/9e2a21603a36ed39df73da3f8c6de1f577028c8e3d83f17e09d26dbfa6e647d8?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Aman Srivastava\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/aman-srivastava462\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add your Own Entity, for Email Templating in Oro Commerce - Webkul Blog","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-your-own-entity-for-email-templating-in-oro-commerce\/","og_locale":"en_US","og_type":"article","og_title":"Add your Own Entity, for Email Templating in Oro Commerce - Webkul Blog","og_description":"To make entity available for the email template you need to make it configurable with the Config Annotation. To make the SellerReview entity available for templating, simply import the @Config annotation and use it in the class. You can also change the default value of each configurable option using the default values argument: Then you [...]","og_url":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2020-01-24T07:26:00+00:00","article_modified_time":"2020-01-24T11:17:52+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Aman Srivastava","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Aman Srivastava","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/"},"author":{"name":"Aman Srivastava","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/b6b03ea4e197f85885540adcc211c257"},"headline":"Add your Own Entity, for Email Templating in Oro Commerce","datePublished":"2020-01-24T07:26:00+00:00","dateModified":"2020-01-24T11:17:52+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/"},"wordCount":169,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"keywords":["Email Templates","OroCommerce"],"articleSection":["OroCommerce","orocrm"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/","url":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/","name":"Add your Own Entity, for Email Templating in Oro Commerce - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2020-01-24T07:26:00+00:00","dateModified":"2020-01-24T11:17:52+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/add-your-own-entity-for-email-templating-in-oro-commerce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Add your Own Entity, for Email Templating in Oro Commerce"}]},{"@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\/b6b03ea4e197f85885540adcc211c257","name":"Aman Srivastava","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9e2a21603a36ed39df73da3f8c6de1f577028c8e3d83f17e09d26dbfa6e647d8?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\/9e2a21603a36ed39df73da3f8c6de1f577028c8e3d83f17e09d26dbfa6e647d8?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Aman Srivastava"},"url":"https:\/\/webkul.com\/blog\/author\/aman-srivastava462\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/225343","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\/256"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=225343"}],"version-history":[{"count":12,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/225343\/revisions"}],"predecessor-version":[{"id":225614,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/225343\/revisions\/225614"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=225343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=225343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=225343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}