{"id":7438,"date":"2023-08-11T08:47:35","date_gmt":"2023-08-11T15:47:35","guid":{"rendered":"https:\/\/membermouse.com\/?post_type=ht_kb&#038;p=7438"},"modified":"2025-04-03T14:46:56","modified_gmt":"2025-04-03T18:46:56","slug":"fazer-downgrade-automatico-para-uma-associacao-gratuita","status":"publish","type":"ht_kb","link":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/","title":{"rendered":"Fa\u00e7a o downgrade autom\u00e1tico para uma associa\u00e7\u00e3o gratuita quando uma conta expirar ou for cancelada"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Para mudar automaticamente os membros para uma associa\u00e7\u00e3o gratuita quando a conta deles expirar\/cancelar, voc\u00ea usaria o sistema de notifica\u00e7\u00e3o por push para&nbsp;<a href=\"https:\/\/membermouse.com\/pt\/documentos-3-2\/chamar-um-script-personalizado-quando-ocorrerem-determinados-eventos\/\">chamar um script personalizado<\/a>&nbsp;which would update the member&#8217;s account to be active on a free membership. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Utiliza\u00e7\u00f5es do MemberMouse&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/wp_cron\">WordPress&#8217; built-in cron function<\/a>&nbsp;to check&nbsp;two times a day for any accounts that should be expired. WordPress&#8217; cron is triggered by traffic coming to the site so if you have minimal traffic coming to the site, the period of time in between when it&#8217;s executed may be less frequent than two times per day. Any activity on the site will trigger the cron to run, so if you have minimal traffic and notice it hasn&#8217;t run, simply visit any page on your site to initiate it.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Aqui est\u00e1 um exemplo de script que voc\u00ea pode usar como ponto de partida:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\/\/ ===> TODO make sure this script is placed in the same directory as wp-load.php or if you put it somewhere else\n\/\/ make sure to update the paths below\nrequire_once(\"wp-load.php\");\nrequire_once(\"wp-content\/plugins\/membermouse\/includes\/mm-constants.php\");\nrequire_once(\"wp-content\/plugins\/membermouse\/includes\/init.php\");\n \n\/\/ ================= START CUSTOMIZATION ====================================\n \n\/\/ If you need help finding your API URL, key or secret, read this article:\n\/\/ http:\/\/support.membermouse.com\/support\/solutions\/articles\/9000020340-api-credentials-overview\n\n\/\/ Your API URL\n$apiUrl = \"http:\/\/yourdomain.com\/wp-content\/plugins\/membermouse\/api\/request.php\";\n\n\/\/ Your API key\n$apiKey = \"abc123def456\";\n\n\/\/ Your API secret\n$apiSecret = \"abc123def456\"; \n\n\/\/ If you need help finding the membership level ID, read this article:\n\/\/ http:\/\/support.membermouse.com\/support\/solutions\/articles\/9000020396-finding-ids-for-membership-levels-products-and-bundles\n\n\/\/ The ID of the free membership level to switch the member to\n$freeMembershipLevelId = 1;\n\n\/\/ ================= END CUSTOMIZATION ======================================\n\/\/ ==========================================================================\n\nif(!isset($_GET&#91;\"member_id\"]) || empty($_GET&#91;\"member_id\"]))\n{\n\texit;\n}\n\n$memberId = $_GET&#91;\"member_id\"];\n\n$inputParams = \"apikey={$apiKey}&amp;apisecret={$apiSecret}&amp;\";\n$inputParams .= \"member_id={$memberId}&amp;\";\n$inputParams .= \"status=1&amp;\";\n$inputParams .= \"membership_level_id={$freeMembershipLevelId}&amp;\";\n\n\n$apiCallUrl = \"{$apiUrl}?q=\/updateMember\";\n$ch = curl_init($apiCallUrl);\n\n\/\/ ================= User Agent Header\n$headers = array(\n    'Referrer: ' . site_url(),\n    'User-Agent: ' . MM_CURL_USER_AGENT,\n);\n\/\/ ================= End User Agent Header\n\ncurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);\ncurl_setopt($ch, CURLOPT_POST, 1);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, $inputParams);\ncurl_setopt($ch, CURLOPT_HEADER, 0);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n$result = curl_exec($ch);\ncurl_close($ch);\n\necho \"&lt;pre>\".print_r($result, true).\"&lt;\/pre>\";\n?><\/code><\/pre>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">This script will change the members membership level to the one indicated in the script and set their status to &#8216;Active&#8217;. In order for the script to work you need to provide your API information and the appropriate membership level ID. Additional instructions can be found in the comments in the script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>OBSERVA\u00c7\u00c3O:<\/strong>&nbsp;Este script \u00e9 destinado a pessoas com experi\u00eancia em desenvolvimento. A Equipe de Sucesso do Cliente do MemberMouse n\u00e3o pode fornecer nenhum suporte em rela\u00e7\u00e3o \u00e0 interpreta\u00e7\u00e3o ou ao uso desse script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After you modified the script as needed, download it and save it. In this example, we suggest to save it under the name: free-member-downgrade.php<br><br>Next, upload it to your server within the public_html.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Em seguida, voc\u00ea deve&nbsp;<a href=\"https:\/\/membermouse.com\/pt\/documentos-3-2\/usando-notificacoes-push\/\">criar uma notifica\u00e7\u00e3o por push<\/a>&nbsp;that&#8217;s triggered on the&nbsp;<em>Mudan\u00e7a de status de associa\u00e7\u00e3o<\/em>&nbsp;event. If you want it to occur when the membership Expires, then you would choose &#8216;Expired&#8217; in the&nbsp;<em>Quando o status de membro \u00e9...<\/em>&nbsp;menu suspenso.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A configura\u00e7\u00e3o seria mais ou menos assim:<br><br><img decoding=\"async\" class=\"wp-image-11177\" style=\"width: 550px;\" src=\"https:\/\/storage.googleapis.com\/wpgcbucket\/wp\/2023\/10\/02c8db59-free-member-downgrade.png\" alt=\"\"><br><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>OBSERVA\u00c7\u00c3O:<\/strong>&nbsp;If you want this to occur when the membership is Canceled, then choose &#8216;Canceled&#8217;&nbsp;in the&nbsp;<em>Quando o status de membro \u00e9...<\/em>&nbsp;menu suspenso.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should run some tests to ensure that everything is working correctly. In order to do this you&#8217;ll need to&nbsp;use a test member account to&nbsp;recreate the scenario where their account becomes expired or canceled. If everything is setup correctly, this should result in the test account remaining active on a free membership level.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Para mudar automaticamente os membros para uma associa\u00e7\u00e3o gratuita quando a conta deles expirar\/cancelar, voc\u00ea usaria o sistema de notifica\u00e7\u00e3o por push para chamar um script personalizado...<\/p>","protected":false},"author":20918,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"ht-kb-category":[138],"ht-kb-tag":[],"class_list":["post-7438","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-tips-tricks"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In order to automatically switch members over to a free membership when their account expires\/cancels, you would use the push notification system to call a custom script...\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Blair\"\/>\n\t<meta name=\"google-site-verification\" content=\"RIQFHn-t5QxsuMU4pLG9xaceb-mmGuRaOWAEU1Q078U\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 5.0.1\" \/>\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=\"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled | MemberMouse\" \/>\n\t\t<meta property=\"og:description\" content=\"In order to automatically switch members over to a free membership when their account expires\/cancels, you would use the push notification system to call a custom script...\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-08-11T15:47:35+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-04-03T18:46:56+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=\"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled | MemberMouse\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In order to automatically switch members over to a free membership when their account expires\/cancels, you would use the push notification system to call a custom script...\" \/>\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\\\/automatically-downgrade-to-a-free-membership\\\/#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\\\/tips\\\/#listItem\",\"name\":\"Tips, Tricks and Customizations\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/tips\\\/#listItem\",\"position\":2,\"name\":\"Tips, Tricks and Customizations\",\"item\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/tips\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/tips-tricks\\\/#listItem\",\"name\":\"Tips and Tricks\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/tips-tricks\\\/#listItem\",\"position\":3,\"name\":\"Tips and Tricks\",\"item\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/tips-tricks\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/automatically-downgrade-to-a-free-membership\\\/#listItem\",\"name\":\"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/tips\\\/#listItem\",\"name\":\"Tips, Tricks and Customizations\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/automatically-downgrade-to-a-free-membership\\\/#listItem\",\"position\":4,\"name\":\"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/article-categories\\\/tips-tricks\\\/#listItem\",\"name\":\"Tips and Tricks\"}}]},{\"@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\\\/blaircaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/author\\\/blaircaseproof-com\\\/\",\"name\":\"Blair\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/automatically-downgrade-to-a-free-membership\\\/#authorImage\",\"url\":\"https:\\\/\\\/membermouse.com\\\/wp-content\\\/litespeed\\\/avatar\\\/5b6227a6ed29e339c22d01fe541a969c.jpg?ver=1788217201\",\"width\":96,\"height\":96,\"caption\":\"Blair\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/automatically-downgrade-to-a-free-membership\\\/#webpage\",\"url\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/automatically-downgrade-to-a-free-membership\\\/\",\"name\":\"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled | MemberMouse\",\"description\":\"In order to automatically switch members over to a free membership when their account expires\\\/cancels, you would use the push notification system to call a custom script...\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/docs\\\/automatically-downgrade-to-a-free-membership\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/author\\\/blaircaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/membermouse.com\\\/pt\\\/author\\\/blaircaseproof-com\\\/#author\"},\"datePublished\":\"2023-08-11T08:47:35-04:00\",\"dateModified\":\"2025-04-03T14:46:56-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>Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled | MemberMouse<\/title>\n\n","aioseo_head_json":{"title":"Fa\u00e7a o downgrade autom\u00e1tico para uma associa\u00e7\u00e3o gratuita quando uma conta expirar ou for cancelada | MemberMouse","description":"Para mudar automaticamente os membros para uma associa\u00e7\u00e3o gratuita quando a conta deles expirar\/cancelar, voc\u00ea usaria o sistema de notifica\u00e7\u00e3o por push para chamar um script personalizado...","canonical_url":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/","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\/automatically-downgrade-to-a-free-membership\/#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\/tips\/#listItem","name":"Tips, Tricks and Customizations"}},{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/tips\/#listItem","position":2,"name":"Tips, Tricks and Customizations","item":"https:\/\/membermouse.com\/pt\/article-categories\/tips\/","nextItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/tips-tricks\/#listItem","name":"Tips and Tricks"},"previousItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/tips-tricks\/#listItem","position":3,"name":"Tips and Tricks","item":"https:\/\/membermouse.com\/pt\/article-categories\/tips-tricks\/","nextItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/#listItem","name":"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled"},"previousItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/tips\/#listItem","name":"Tips, Tricks and Customizations"}},{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/#listItem","position":4,"name":"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled","previousItem":{"@type":"ListItem","@id":"https:\/\/membermouse.com\/pt\/article-categories\/tips-tricks\/#listItem","name":"Tips and Tricks"}}]},{"@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\/blaircaseproof-com\/#author","url":"https:\/\/membermouse.com\/pt\/author\/blaircaseproof-com\/","name":"Blair","image":{"@type":"ImageObject","@id":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/#authorImage","url":"https:\/\/membermouse.com\/wp-content\/litespeed\/avatar\/5b6227a6ed29e339c22d01fe541a969c.jpg?ver=1788217201","width":96,"height":96,"caption":"Blair"}},{"@type":"WebPage","@id":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/#webpage","url":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/","name":"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled | MemberMouse","description":"In order to automatically switch members over to a free membership when their account expires\/cancels, you would use the push notification system to call a custom script...","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/membermouse.com\/pt\/#website"},"breadcrumb":{"@id":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/#breadcrumblist"},"author":{"@id":"https:\/\/membermouse.com\/pt\/author\/blaircaseproof-com\/#author"},"creator":{"@id":"https:\/\/membermouse.com\/pt\/author\/blaircaseproof-com\/#author"},"datePublished":"2023-08-11T08:47:35-04:00","dateModified":"2025-04-03T14:46:56-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":"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled | MemberMouse","og:description":"In order to automatically switch members over to a free membership when their account expires\/cancels, you would use the push notification system to call a custom script...","og:url":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/","article:published_time":"2023-08-11T15:47:35+00:00","article:modified_time":"2025-04-03T18:46:56+00:00","article:publisher":"https:\/\/www.facebook.com\/membermouse","twitter:card":"summary_large_image","twitter:site":"@MemberMouse","twitter:title":"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled | MemberMouse","twitter:description":"In order to automatically switch members over to a free membership when their account expires\/cancels, you would use the push notification system to call a custom script...","twitter:creator":"@MemberMouse"},"aioseo_meta_data":{"post_id":"7438","title":null,"description":null,"keywords":null,"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":null,"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 18:04:15","updated":"2026-06-03 03:41:12","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":"2026-06-02 23:23:03","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"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\/tips\/\" title=\"Tips, Tricks and Customizations\">Tips, Tricks and Customizations<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/membermouse.com\/pt\/article-categories\/tips-tricks\/\" title=\"Tips and Tricks\">Tips and Tricks<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tAutomatically Downgrade to a Free Membership When an Account Expires or Is Canceled\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/membermouse.com\/pt"},{"label":"Tips, Tricks and Customizations","link":"https:\/\/membermouse.com\/pt\/article-categories\/tips\/"},{"label":"Tips and Tricks","link":"https:\/\/membermouse.com\/pt\/article-categories\/tips-tricks\/"},{"label":"Automatically Downgrade to a Free Membership When an Account Expires or Is Canceled","link":"https:\/\/membermouse.com\/pt\/docs\/automatically-downgrade-to-a-free-membership\/"}],"_links":{"self":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb\/7438","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\/20918"}],"replies":[{"embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/comments?post=7438"}],"version-history":[{"count":2,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb\/7438\/revisions"}],"predecessor-version":[{"id":21043,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb\/7438\/revisions\/21043"}],"wp:attachment":[{"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/media?parent=7438"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb-category?post=7438"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/membermouse.com\/pt\/wp-json\/wp\/v2\/ht-kb-tag?post=7438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}