By: Prem Tiwari | Last Updated: | In: WordPress, WordPress Snippets
Hello friends, hope you are doing good. This is a very short tutorial. It will be described a simple and easy WordPress snippets to remove the email notification from WordPress and also in Admin panel while any new user will be registered with your website.
If you are running a membership website based on WordPress platform and want to remove the email notification as well admin notification when a new user registered with your websites, then this tutorial is specially designed for you, so keep your close attention in this post as I am going to share the simple and easy script to remove the New User Notification in WordPress websites.
Belo code will remove both the new user notification email and the admin notification email indicating a new user has been created.
1 2 3 4 5 6 7 8 |
<?php function my_give_remove_new_user_notification() { remove_action( 'give_insert_user', 'give_new_user_notification', 10); } add_action( 'give_insert_user', 'my_give_remove_new_user_notification', 1 ); ?> |
Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies. View all posts by Prem Tiwari
how to remove email notification, remove email notification, wordpress remove email notifications, wordpress tutorial, wordpress tutorial for beginner, wordpress tutorial for beginners, wordpress tutorials for beginners, wordpress tutorils