Title: Removing a line
Last modified: March 27, 2024

---

# Removing a line

 *  Resolved [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/)
 * Hi,
 * I intend to remove the “A welcome email has been sent to [email]” line on the
   confirmation page. The code works for one of the membership levels created but
   not the other (I created just 2). Thanks for your help.
 * [https://gist.github.com/JarrydLong/1c192a71bb4ac88625a8d10ffc92f14d](https://gist.github.com/JarrydLong/1c192a71bb4ac88625a8d10ffc92f14d)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17534294)
 * Hi Philippe, thank you for reaching out to Paid Memberships Pro.
 * Please try changing the priority in line `add_filter('gettext', 'mypmpro_custom_gettext',
   20, 3);` to `add_filter('gettext', 'mypmpro_custom_gettext', 20, 99);` and let
   me know if this helps at all? Its quite strange that it only applies to one level
   and not the other.
 * Kind Regards,
   Jarryd_Support Manager at Paid Memberships Pro_
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17538269)
 * Hi Jarryd,
 * It does not work.
 *  Plugin Support [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17541650)
 * Please give this updated version a try and let me know if it helps.
 * [https://gist.github.com/JarrydLong/f6254510dca8f9518a42222d348871e8](https://gist.github.com/JarrydLong/f6254510dca8f9518a42222d348871e8)
 * Kind Regards,
   Jarryd_Support Manager at Paid Memberships Pro_
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17543810)
 * Hi Jarryd,
 * There has been no change. The message “A welcome email with a copy of your initial
   membership invoice has been sent to …” still appears on the Student membership
   I have, not on the Simple one.
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17543813)
 * BTW, I duplicated my Simple level and gave it the standards I need for the Student
   one. The “A welcome email with a copy of your initial membership invoice has 
   been sent to …” reappeared.
 *  Plugin Support [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17543994)
 * Please confirm what version of Paid Memberships Pro you are currently running
   as well as any other PMPro Add Ons that are active?
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17548447)
 * Hi Jarryd,
 * I use the free version of PMP and the Askimet integration add-on, nothing else.
   I just made some other tests and can confirm that the issue occurs only with 
   paying levels, not free ones.
 *  Plugin Support [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17550352)
 * Thank you for your feedback. Just a reminder that Paid Memberships Pro is entirely
   free.
 * It looks like there’s a few versions of this string and we were checking for 
   an exact string instead. I’ve changed this up in the recipe below and tested 
   it on my side – the ‘welcome email’ text is removed from the checkout page.
 * [https://gist.github.com/JarrydLong/1c192a71bb4ac88625a8d10ffc92f14d](https://gist.github.com/JarrydLong/1c192a71bb4ac88625a8d10ffc92f14d)
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17550433)
 * Excellent. Thank you!
 *  Plugin Support [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17553352)
 * My pleasure, Philippe!
 * Kind Regards,
   Jarryd_Support Manager at Paid Memberships Pro_

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Removing a line’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/removing-a-line/#post-17553352)
 * Status: resolved