{"id":8434,"date":"2023-08-16T10:50:21","date_gmt":"2023-08-16T17:50:21","guid":{"rendered":"https:\/\/membermouse.com\/?post_type=ht_kb&#038;p=8434"},"modified":"2023-10-27T11:26:03","modified_gmt":"2023-10-27T15:26:03","slug":"adicionar-uma-data-as-notificacoes-por-push","status":"publish","type":"ht_kb","link":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/","title":{"rendered":"Adicionar uma data \u00e0s notifica\u00e7\u00f5es push"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When sending out a Push Notification (read this article to&nbsp;<a href=\"https:\/\/membermouse.com\/docs\/using-push-notifications\/\">learn more about Push Notifications<\/a>) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To do this, follow the steps below:<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Locate and open your theme's functions.php file. &nbsp;As this is very important file, be careful when you are making any changes. We would also suggest copying the original file contents and saving them just in case. <br><br>You can edit this file one of two ways: <br><br>1. Open the functions.php file for your theme in an editor (stored in your current theme folder wp-content\/theme). <br><br>2. Access the file from&nbsp;<em>Dashboard &gt; Appearance &gt; Editor<\/em>; make sure your theme is selected, then click functions.php in the list on the right. If you would like more help on what\/how to edit this file,&nbsp;<a href=\"http:\/\/codex.wordpress.org\/Editing_Files\">please read this article<\/a>.<br><br><\/li>\n\n\n\n<li>Add the following code to the file: <\/li>\n<\/ul>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>function ng_date_shortcode($atts, $content = null) {\nreturn ($content) ? date($content) : date(\"F d, Y\");\n}\nadd_shortcode('curr_date', 'ng_date_shortcode');<\/code><\/pre>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Then you can use the shortcode anywhere on your site, including in push notifications: <br><br><code>[curr_date]<\/code><\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ao enviar uma notifica\u00e7\u00e3o por push (leia este artigo para saber mais sobre as notifica\u00e7\u00f5es por push), talvez voc\u00ea queira adicionar a data em que o e-mail foi enviado, especialmente se o seu...<\/p>","protected":false},"author":21411,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"ht-kb-category":[215],"ht-kb-tag":[],"class_list":["post-8434","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-notifications-overview"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"When sending out a Push Notification (read this article to learn more about Push Notifications) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt. To do this, follow the steps below: Locate and open your theme&#039;s functions.php file. As this\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Curt Noble\"\/>\n\t<meta name=\"google-site-verification\" content=\"RIQFHn-t5QxsuMU4pLG9xaceb-mmGuRaOWAEU1Q078U\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_BR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberMouse |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Add A Date To Push Notifications | MemberMouse\" \/>\n\t\t<meta property=\"og:description\" content=\"When sending out a Push Notification (read this article to learn more about Push Notifications) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt. To do this, follow the steps below: Locate and open your theme&#039;s functions.php file. As this\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-08-16T17:50:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-10-27T15:26:03+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/membermouse\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@MemberMouse\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Add A Date To Push Notifications | MemberMouse\" \/>\n\t\t<meta name=\"twitter:description\" content=\"When sending out a Push Notification (read this article to learn more about Push Notifications) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt. To do this, follow the steps below: Locate and open your theme&#039;s functions.php file. As this\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@MemberMouse\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/add-a-date-to-push-notifications\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/membermouse.com\\\/pt\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/push-notifications\\\/#listItem\",\"name\":\"Push Notifications\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/push-notifications\\\/#listItem\",\"position\":2,\"name\":\"Push Notifications\",\"item\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/push-notifications\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/notifications-overview\\\/#listItem\",\"name\":\"Push Notifications Overview\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/notifications-overview\\\/#listItem\",\"position\":3,\"name\":\"Push Notifications Overview\",\"item\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/notifications-overview\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/add-a-date-to-push-notifications\\\/#listItem\",\"name\":\"Add A Date To Push Notifications\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/push-notifications\\\/#listItem\",\"name\":\"Push Notifications\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/add-a-date-to-push-notifications\\\/#listItem\",\"position\":4,\"name\":\"Add A Date To Push Notifications\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/notifications-overview\\\/#listItem\",\"name\":\"Push Notifications Overview\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/#organization\",\"name\":\"MemberMouse\",\"url\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/membermouse\",\"https:\\\/\\\/twitter.com\\\/MemberMouse\",\"https:\\\/\\\/www.instagram.com\\\/membermouse\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/membermouse\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/membermouse\\\/\",\"https:\\\/\\\/soundcloud.com\\\/membermouse\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/author\\\/curtcaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/author\\\/curtcaseproof-com\\\/\",\"name\":\"Curt Noble\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/membermouse.com\\\/wp-content\\\/litespeed\\\/avatar\\\/69cacd8325ef9810065b0b177318f497.jpg?ver=1784785069\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/add-a-date-to-push-notifications\\\/#webpage\",\"url\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/add-a-date-to-push-notifications\\\/\",\"name\":\"Add A Date To Push Notifications | MemberMouse\",\"description\":\"When sending out a Push Notification (read this article to learn more about Push Notifications) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt. To do this, follow the steps below: Locate and open your theme's functions.php file. As this\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/add-a-date-to-push-notifications\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/author\\\/curtcaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/author\\\/curtcaseproof-com\\\/#author\"},\"datePublished\":\"2023-08-16T10:50:21-04:00\",\"dateModified\":\"2023-10-27T11:26:03-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/#website\",\"url\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/\",\"name\":\"MemberMouse\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Add A Date To Push Notifications | MemberMouse<\/title>\n\n","aioseo_head_json":{"title":"Adicionar uma data \u00e0s notifica\u00e7\u00f5es push | MemberMouse","description":"Ao enviar uma notifica\u00e7\u00e3o por push (leia este artigo para saber mais sobre as notifica\u00e7\u00f5es por push), talvez voc\u00ea queira adicionar a data em que o e-mail foi enviado, especialmente se a notifica\u00e7\u00e3o por push estiver servindo como qualquer tipo de recibo. Para fazer isso, siga as etapas abaixo: Localize e abra o arquivo functions.php do seu tema. Como este","canonical_url":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"RIQFHn-t5QxsuMU4pLG9xaceb-mmGuRaOWAEU1Q078U","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt#listItem","position":1,"name":"Home","item":"https:\/\/membermouse.com\/pt","nextItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/push-notifications\/#listItem","name":"Push Notifications"}},{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/push-notifications\/#listItem","position":2,"name":"Push Notifications","item":"https:\/\/membermouse.com\/pt\/article-categories\/push-notifications\/","nextItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/notifications-overview\/#listItem","name":"Push Notifications Overview"},"previousItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/notifications-overview\/#listItem","position":3,"name":"Push Notifications Overview","item":"https:\/\/membermouse.com\/pt\/article-categories\/notifications-overview\/","nextItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/#listItem","name":"Add A Date To Push Notifications"},"previousItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/push-notifications\/#listItem","name":"Push Notifications"}},{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/#listItem","position":4,"name":"Add A Date To Push Notifications","previousItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/notifications-overview\/#listItem","name":"Push Notifications Overview"}}]},{"@type":"Organization","@id":"https:\/\/membermouse.com\/pt\/#organization","name":"MemberMouse","url":"https:\/\/membermouse.com\/pt\/","sameAs":["https:\/\/www.facebook.com\/membermouse","https:\/\/twitter.com\/MemberMouse","https:\/\/www.instagram.com\/membermouse\/","https:\/\/www.youtube.com\/user\/membermouse","https:\/\/www.linkedin.com\/company\/membermouse\/","https:\/\/soundcloud.com\/membermouse"]},{"@type":"Person","@id":"https:\/\/membermouse.com\/pt\/author\/curtcaseproof-com\/#author","url":"https:\/\/membermouse.com\/pt\/author\/curtcaseproof-com\/","name":"Curt Noble","image":{"@type":"ImageObject","url":"https:\/\/membermouse.com\/wp-content\/litespeed\/avatar\/69cacd8325ef9810065b0b177318f497.jpg?ver=1784785069"}},{"@type":"WebPage","@id":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/#webpage","url":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/","name":"Add A Date To Push Notifications | MemberMouse","description":"When sending out a Push Notification (read this article to learn more about Push Notifications) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt. To do this, follow the steps below: Locate and open your theme's functions.php file. As this","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/membermouse.com\/pt\/#website"},"breadcrumb":{"@id":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/#breadcrumblist"},"author":{"@id":"https:\/\/membermouse.com\/pt\/author\/curtcaseproof-com\/#author"},"creator":{"@id":"https:\/\/membermouse.com\/pt\/author\/curtcaseproof-com\/#author"},"datePublished":"2023-08-16T10:50:21-04:00","dateModified":"2023-10-27T11:26:03-04:00"},{"@type":"WebSite","@id":"https:\/\/membermouse.com\/pt\/#website","url":"https:\/\/membermouse.com\/pt\/","name":"MemberMouse","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/membermouse.com\/pt\/#organization"}}]},"og:locale":"pt_BR","og:site_name":"MemberMouse |","og:type":"article","og:title":"Add A Date To Push Notifications | MemberMouse","og:description":"When sending out a Push Notification (read this article to learn more about Push Notifications) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt. To do this, follow the steps below: Locate and open your theme's functions.php file. As this","og:url":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/","article:published_time":"2023-08-16T17:50:21+00:00","article:modified_time":"2023-10-27T15:26:03+00:00","article:publisher":"https:\/\/www.facebook.com\/membermouse","twitter:card":"summary_large_image","twitter:site":"@MemberMouse","twitter:title":"Add A Date To Push Notifications | MemberMouse","twitter:description":"When sending out a Push Notification (read this article to learn more about Push Notifications) you might want to add the date that the email was sent, especially if your Push Notification is serving as any type of a receipt. To do this, follow the steps below: Locate and open your theme's functions.php file. As this","twitter:creator":"@MemberMouse"},"aioseo_meta_data":{"post_id":"8434","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":"{\"title\":{\"suggestions\":[],\"usage\":0},\"description\":{\"suggestions\":[],\"usage\":0}}","created":"2023-10-11 19:03:25","updated":"2026-06-03 05:40:52","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":"2026-06-03 04:32:25"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/membermouse.com\/pt\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/membermouse.com\/pt\/article-categories\/push-notifications\/\" title=\"Push Notifications\">Push Notifications<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/membermouse.com\/pt\/article-categories\/notifications-overview\/\" title=\"Push Notifications Overview\">Push Notifications Overview<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tAdd A Date To Push Notifications\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/membermouse.com\/pt"},{"label":"Push Notifications","link":"https:\/\/membermouse.com\/pt\/article-categories\/push-notifications\/"},{"label":"Push Notifications Overview","link":"https:\/\/membermouse.com\/pt\/article-categories\/notifications-overview\/"},{"label":"Add A Date To Push Notifications","link":"https:\/\/membermouse.com\/pt\/docs\/add-a-date-to-push-notifications\/"}],"_links":{"self":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb\/8434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/users\/21411"}],"replies":[{"embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/comments?post=8434"}],"version-history":[{"count":0,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb\/8434\/revisions"}],"wp:attachment":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/media?parent=8434"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb-category?post=8434"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb-tag?post=8434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}