{"id":12017408,"date":"2019-10-10T14:24:56","date_gmt":"2019-10-10T14:24:56","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/remove-password-from-confirmation-email\/"},"modified":"2019-10-10T14:24:56","modified_gmt":"2019-10-10T14:24:56","slug":"remove-password-from-confirmation-email","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/remove-password-from-confirmation-email\/","title":{"rendered":"Remove Password from confirmation email"},"content":{"rendered":"<p>the text added to the email templates does not seem to be translatable using WPML.<\/p>\n<p>we resorted to write all language versions of the text in the same box, but in doing so the &#8220;Password:&#8221; bit appears way down the email.<\/p>\n<p>so as well as asking for WPML support, i&#8217;m +1 <a href=\"https:\/\/wordpress.org\/support\/topic\/add-password-send-to-new-user-before-end-of-mail\/\">this request<\/a><\/p>\n<p>there seems to be a &#8216;eonet_mua_hide_password_from_email&#8217; filter to disable the output, but i can&#8217;t make it work.<\/p>\n<p>meanwhile, i had to resort to commenting out the line in component-manual-user-approve\/classes\/Eonet_MUA_Message.php, around line 257:<\/p>\n<pre><code>\t\tif(!empty($password) &amp;&amp; !apply_filters(&#039;eonet_mua_hide_password_from_email&#039;, false)) {\n\t\t\t$message .= &quot;\\r\\n\\r\\n&quot;;\n\/\/\t\t\t$message .= __(&#039;Password:&#039;, &#039;eonet-manual-user-approve&#039;) . &#039; &#039;. $password;\n\t\t}<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-12017408","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12017408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12017408\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12017408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}