{"id":1343,"date":"2024-04-12T19:20:46","date_gmt":"2024-04-12T13:50:46","guid":{"rendered":"https:\/\/magecurious.com\/blog\/?p=1343"},"modified":"2025-01-12T20:51:27","modified_gmt":"2025-01-12T15:21:27","slug":"how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2","status":"publish","type":"post","link":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/","title":{"rendered":"How To Bind Custom Text While Adding A Comment In Sales Order View In Magento 2 \u00a0 \u00a0 \u00a0"},"content":{"rendered":"\n<p>Hello Everyone,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>In this blog, we will learn about how to Bind Custom Text while Adding Comment in Sales Order View in Magento 2.<\/p>\n\n\n\n<p>Store Admin can customize anything as per requirements.<\/p>\n\n\n\n<p>Without wasting your time, let us guide you straight away. Follow the easy step given below to Bind Custom Text while Add Comment in Sales Order View in Magento 2.<\/p>\n\n\n\n<p><strong>STEPS FOR BIND CUSTOM TEXT IN SALES ORDER VIEW IN MAGENTO 2<\/strong><\/p>\n\n\n\n<p><strong>Step 1: Create di.xml file<\/strong><\/p>\n\n\n\n<p><strong>app\/code\/Vendor\/Extension\/etc\/adminhtml\/di.xml<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?xml version=&quot;1.0&quot;?&gt;\n\n&lt;config xmlns:xsi=&#039;http:\/\/www.w3.org\/2001\/XMLSchema-instance&#039; xsi:noNamespaceSchemaLocation=&#039;..\/..\/..\/..\/..\/lib\/internal\/Magento\/Framework\/ObjectManager\/etc\/config.xsd&#039;&gt;\n\n\u00a0\u00a0\u00a0\u00a0&lt;type name=&#039;Magento\\Sales\\Controller\\Adminhtml\\Order\\AddComment&#039;&gt;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;plugin name=&#039;order_add_comment&#039; type=&#039;Vendor\\Extension\\Plugin\\Adminhtml\\Order\\AddComment&#039;\/&gt;\n\n\u00a0\u00a0\u00a0\u00a0&lt;\/type&gt;\n\n&lt;\/config&gt;\n<\/pre><\/div>\n\n\n<p><strong>Step 2: Create AddComment.php file<\/strong><\/p>\n\n\n\n<p><strong>app\/code\/Vendor\/Extension\/Plugin\/Adminhtml\/Order\/AddComment.php<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php \nnamespace Vendor\\Extension\\Plugin\\Adminhtml\\Order;\n\nuse Magento\\Framework\\App\\RequestInterface;\nuse Magento\\Backend\\Model\\Auth\\Session;\nuse Magento\\Framework\\Exception\\NoSuchEntityException;\nuse Magento\\Framework\\Exception\\InputException;\nuse Magento\\Sales\\Api\\OrderRepositoryInterface;\nuse Magento\\Sales\\Api\\Data\\OrderStatusHistoryInterface;\nuse Magento\\Sales\\Api\\OrderStatusHistoryRepositoryInterface;\nuse Magento\\Framework\\Registry;\nuse Magento\\Framework\\View\\Result\\PageFactory;\nuse Magento\\Framework\\Controller\\Result\\JsonFactory;\nuse Magento\\Framework\\Controller\\Result\\Redirect;\nuse Magento\\Sales\\Model\\Order\\Email\\Sender\\OrderCommentSender;\nuse Magento\\Framework\\AuthorizationInterface;\n\nclass AddComment\n{\n    public const ADMIN_RESOURCE = &#039;Magento_Sales::comment&#039;;\n    public const ADMIN_SALES_EMAIL_RESOURCE = &#039;Magento_Sales::emails&#039;;\n\n    protected $_request;\n    protected $authSession;\n    protected $orderStatusRepository;\n    protected $orderRepository;\n    protected $_coreRegistry = null;\n    protected $resultPageFactory;\n    private $resultJsonFactory;\n    protected $orderCommentSender;\n    protected $_authorization;\n    protected $resultRedirectFactory;\n\n    public function __construct(\n        RequestInterface  $request,\n        Session $authSession,\n        OrderStatusHistoryRepositoryInterface $orderStatusRepository,\n        OrderRepositoryInterface $orderRepository,\n        Registry $coreRegistry,\n        PageFactory $resultPageFactory,\n        JsonFactory $resultJsonFactory,\n        Redirect $resultRedirectFactory,\n        OrderCommentSender $orderCommentSender,\n        AuthorizationInterface $authorization\n    )\n    {\n    \t$this-&gt;authSession = $authSession;\n        $this-&gt;_request = $request;\n        $this-&gt;orderStatusRepository = $orderStatusRepository;\n        $this-&gt;orderRepository = $orderRepository;\n        $this-&gt;_coreRegistry = $coreRegistry;\n        $this-&gt;resultPageFactory = $resultPageFactory;\n        $this-&gt;resultJsonFactory = $resultJsonFactory;\n        $this-&gt;resultRedirectFactory = $resultRedirectFactory;\n        $this-&gt;orderCommentSender = $orderCommentSender;\n        $this-&gt;_authorization = $authorization;\n    }\n\n    public function aroundExecute(\\Magento\\Sales\\Controller\\Adminhtml\\Order\\AddComment $subject, callable $proceed)\n    {\n        $order = $this-&gt;_initOrder();\n\t        if ($order)\n                {\n\t            try\n                    {\n\t                $data = $subject-&gt;getRequest()-&gt;getPost(&#039;history&#039;);\n\n\t                if (empty($data&#x5B;&#039;comment&#039;]) &amp;&amp; $data&#x5B;&#039;status&#039;] == $order-&gt;getDataByKey(&#039;status&#039;))\n                        {\n\t                    throw new \\Magento\\Framework\\Exception\\LocalizedException(\n\t                        __(&#039;The comment is missing. Enter and try again.&#039;)\n\t                    );\n\t                }\n\n\t                $order-&gt;setStatus($data&#x5B;&#039;status&#039;]);\n\t                $notify = $data&#x5B;&#039;is_customer_notified&#039;] ?? false;\n\t                $visible = $data&#x5B;&#039;is_visible_on_front&#039;] ?? false;\n\n\t                if ($notify &amp;&amp; !$this-&gt;_authorization-&gt;isAllowed(self::ADMIN_SALES_EMAIL_RESOURCE))\n                        {\n\t                    $notify = false;\n\t                }\n\n\t                $comment = trim(strip_tags($data&#x5B;&#039;comment&#039;]));\n\t                $adminusername = $this-&gt;authSession-&gt;getUser()-&gt;getUsername();\n\t                $history = $order-&gt;addStatusHistoryComment($comment.&#039;&lt;br&gt;&lt;b&gt;Admin User :&lt;\/b&gt; &#039;.$adminusername, $data&#x5B;&#039;status&#039;]);\n\t                $history-&gt;setIsVisibleOnFront($visible);\n\t                $history-&gt;setIsCustomerNotified($notify);\n\t                $history-&gt;save();\n\n\t                $order-&gt;save();\n\t               \n\t                $this-&gt;orderCommentSender-&gt;send($order, $notify, $comment);\n\n\t                return $this-&gt;resultPageFactory-&gt;create();\n\t            }\n                    catch (\\Magento\\Framework\\Exception\\LocalizedException $e)\n                    {\n\t                $response = &#x5B;&#039;error&#039; =&gt; true, &#039;message&#039; =&gt; $e-&gt;getMessage()];\n\t            }\n                    catch (\\Exception $e)\n                    {\n\t                $response = &#x5B;&#039;error&#039; =&gt; true, &#039;message&#039; =&gt; __(&#039;We cannot add order history.&#039;)];\n\t            }\n\t            if (is_array($response))\n                    {\n\t                $resultJson = $this-&gt;resultJsonFactory-&gt;create();\n\t                $resultJson-&gt;setData($response);\n\t                return $resultJson;\n\t            }\n\t      }\n              return $this-&gt;resultRedirectFactory-&gt;create()-&gt;setPath(&#039;sales\/*\/&#039;);\n    }\n    \n    public function _initOrder()\n    {\n        $id = $this-&gt;_request-&gt;getParam(&#039;order_id&#039;);\n        try\n        {\n            $order = $this-&gt;orderRepository-&gt;get($id);\n        }\n        catch (NoSuchEntityException $e)\n        {\n            return false;\n        }\n        catch (InputException $e)\n        {\n            return false;\n        }\n        $this-&gt;_coreRegistry-&gt;register(&#039;sales_order&#039;, $order);\n        $this-&gt;_coreRegistry-&gt;register(&#039;current_order&#039;, $order);\n        return $order;\n    }\n}\n<\/pre><\/div>\n\n\n<p><strong>Step 3: Finally run the below commands<\/strong><\/p>\n\n\n\n<p>$ php bin\/magento cache:clean<\/p>\n\n\n\n<p>$ php bin\/magento cache:flush<\/p>\n\n\n\n<p><strong>Step 4: Output:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/arNsT5_7WoEZRLs-UotKzkJJKx98jw4iDCK704bj12DyDWHPqFWwCtjWl_CwgEzI1z-3HWRzDPQpXkThjAdIqntKsKlAxQuGTRZYXGYws_FUrEbsQE5nDK2pLM6qTq7G9a-vlwu13N3OQvBirpg5PeE\" alt=\"\"\/><\/figure>\n\n\n\n<div style=\"height:21px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Final Thoughts:<\/strong><\/p>\n\n\n\n<p>So this was the easiest way which we have told you in this blog. This is how you can Bind Custom Text while Adding a Comment in Sales Order View in Magento 2. Hope you liked the blog.<\/p>\n\n\n\n<p>So quickly go to the comment box and tell me how you like this blog?<\/p>\n\n\n\n<p><strong>Stay tuned with us on our site to get new updates of Magento.<\/strong><\/p>\n\n\n\n<p>Thanks for reading and visiting our site.<\/p>\n\n\n<!-- FeedbackWP Plugin --><div  class=\"rmp-widgets-container rmp-wp-plugin rmp-main-container js-rmp-widgets-container js-rmp-widgets-container--1343 \"  data-post-id=\"1343\">    <!-- Rating widget -->  <div class=\"rmp-rating-widget js-rmp-rating-widget\">          <p class=\"rmp-heading rmp-heading--title\">        How useful was this post?      <\/p>              <p class=\"rmp-heading rmp-heading--subtitle\">        Click on a star to rate it!      <\/p>        <div class=\"rmp-rating-widget__icons\">      <ul class=\"rmp-rating-widget__icons-list js-rmp-rating-icons-list\">                  <li class=\"rmp-rating-widget__icons-list__icon js-rmp-rating-item\" data-descriptive-rating=\"Not at all useful\" data-value=\"1\">              <i class=\"js-rmp-rating-icon rmp-icon rmp-icon--ratings rmp-icon--star rmp-icon--full-highlight\"><\/i>          <\/li>                  <li class=\"rmp-rating-widget__icons-list__icon js-rmp-rating-item\" data-descriptive-rating=\"Somewhat useful\" data-value=\"2\">              <i class=\"js-rmp-rating-icon rmp-icon rmp-icon--ratings rmp-icon--star rmp-icon--full-highlight\"><\/i>          <\/li>                  <li class=\"rmp-rating-widget__icons-list__icon js-rmp-rating-item\" data-descriptive-rating=\"Useful\" data-value=\"3\">              <i class=\"js-rmp-rating-icon rmp-icon rmp-icon--ratings rmp-icon--star rmp-icon--full-highlight\"><\/i>          <\/li>                  <li class=\"rmp-rating-widget__icons-list__icon js-rmp-rating-item\" data-descriptive-rating=\"Fairly useful\" data-value=\"4\">              <i class=\"js-rmp-rating-icon rmp-icon rmp-icon--ratings rmp-icon--star rmp-icon--full-highlight\"><\/i>          <\/li>                  <li class=\"rmp-rating-widget__icons-list__icon js-rmp-rating-item\" data-descriptive-rating=\"Very useful\" data-value=\"5\">              <i class=\"js-rmp-rating-icon rmp-icon rmp-icon--ratings rmp-icon--star rmp-icon--full-highlight\"><\/i>          <\/li>              <\/ul>    <\/div>    <p class=\"rmp-rating-widget__hover-text js-rmp-hover-text\"><\/p>        <button class=\"rmp-rating-widget__submit-btn rmp-btn js-submit-rating-btn\">      Submit Rating    <\/button>    <p class=\"rmp-rating-widget__results js-rmp-results \">      Average rating <span class=\"rmp-rating-widget__results__rating js-rmp-avg-rating\">5<\/span> \/ 5. Vote count: <span class=\"rmp-rating-widget__results__votes js-rmp-vote-count\">1<\/span>    <\/p>    <p class=\"rmp-rating-widget__not-rated js-rmp-not-rated rmp-rating-widget__not-rated--hidden\">      No votes so far! Be the first to rate this post.    <\/p>    <p class=\"rmp-rating-widget__msg js-rmp-msg\"><\/p>  <\/div>  <!--Structured data -->        <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hello Everyone,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In this blog, we will learn about how to Bind Custom Text while Adding Comment in Sales Order View in Magento 2. Store Admin can customize anything as per requirements. Without wasting your time, let us guide you straight away. Follow the easy step given below to Bind Custom Text while Add Comment [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bind Custom text While adding Comment in Sales Order View<\/title>\n<meta name=\"description\" content=\"Learn to bind custom text when adding comments in the Magento 2 sales order view to create a plugin to append custom messages.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bind Custom text While adding Comment in Sales Order View\" \/>\n<meta property=\"og:description\" content=\"Learn to bind custom text when adding comments in the Magento 2 sales order view to create a plugin to append custom messages.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Magecurious\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-12T13:50:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-12T15:21:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2024\/04\/CUSTOM-TEXT-WHILE.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"496\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Magecurious\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Magecurious\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bind Custom text While adding Comment in Sales Order View","description":"Learn to bind custom text when adding comments in the Magento 2 sales order view to create a plugin to append custom messages.","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:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Bind Custom text While adding Comment in Sales Order View","og_description":"Learn to bind custom text when adding comments in the Magento 2 sales order view to create a plugin to append custom messages.","og_url":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/","og_site_name":"Magecurious","article_published_time":"2024-04-12T13:50:46+00:00","article_modified_time":"2025-01-12T15:21:27+00:00","og_image":[{"width":1200,"height":496,"url":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2024\/04\/CUSTOM-TEXT-WHILE.png","type":"image\/png"}],"author":"Magecurious","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Magecurious","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/"},"author":{"name":"Magecurious","@id":"https:\/\/magecurious.com\/blog\/#\/schema\/person\/6bced7da0991e7fbbd4550006a6494e2"},"headline":"How To Bind Custom Text While Adding A Comment In Sales Order View In Magento 2 \u00a0 \u00a0 \u00a0","datePublished":"2024-04-12T13:50:46+00:00","dateModified":"2025-01-12T15:21:27+00:00","mainEntityOfPage":{"@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/"},"wordCount":213,"commentCount":0,"publisher":{"@id":"https:\/\/magecurious.com\/blog\/#organization"},"image":{"@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2024\/04\/CUSTOM-TEXT-WHILE.png","articleSection":["Magento 2 Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/","url":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/","name":"Bind Custom text While adding Comment in Sales Order View","isPartOf":{"@id":"https:\/\/magecurious.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2024\/04\/CUSTOM-TEXT-WHILE.png","datePublished":"2024-04-12T13:50:46+00:00","dateModified":"2025-01-12T15:21:27+00:00","description":"Learn to bind custom text when adding comments in the Magento 2 sales order view to create a plugin to append custom messages.","breadcrumb":{"@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#primaryimage","url":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2024\/04\/CUSTOM-TEXT-WHILE.png","contentUrl":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2024\/04\/CUSTOM-TEXT-WHILE.png","width":1200,"height":496},{"@type":"BreadcrumbList","@id":"https:\/\/magecurious.com\/blog\/how-to-bind-custom-text-while-adding-a-comment-in-sales-order-view-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/magecurious.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Bind Custom Text While Adding A Comment In Sales Order View In Magento 2 \u00a0 \u00a0 \u00a0"}]},{"@type":"WebSite","@id":"https:\/\/magecurious.com\/blog\/#website","url":"https:\/\/magecurious.com\/blog\/","name":"Magecurious","description":"Blog","publisher":{"@id":"https:\/\/magecurious.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/magecurious.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/magecurious.com\/blog\/#organization","name":"Magecurious","url":"https:\/\/magecurious.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/magecurious.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2026\/03\/cropped-New_Project.png","contentUrl":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2026\/03\/cropped-New_Project.png","width":596,"height":113,"caption":"Magecurious"},"image":{"@id":"https:\/\/magecurious.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/magecurious.com\/blog\/#\/schema\/person\/6bced7da0991e7fbbd4550006a6494e2","name":"Magecurious","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/magecurious.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c9178df2190b2309da97c9f28dd475bc338275cf664d12678d7e5da51c761271?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c9178df2190b2309da97c9f28dd475bc338275cf664d12678d7e5da51c761271?s=96&d=mm&r=g","caption":"Magecurious"},"sameAs":["https:\/\/magecurious.com"],"url":"https:\/\/magecurious.com\/blog\/author\/magecurious-wp\/"}]}},"jetpack_featured_media_url":"https:\/\/magecurious.com\/blog\/wp-content\/uploads\/2024\/04\/CUSTOM-TEXT-WHILE.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/posts\/1343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/comments?post=1343"}],"version-history":[{"count":0,"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/posts\/1343\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/media\/1345"}],"wp:attachment":[{"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/media?parent=1343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/categories?post=1343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magecurious.com\/blog\/wp-json\/wp\/v2\/tags?post=1343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}