By default, WordPress sends a notification email to site administrator when a new user registers on his WordPress site. if you want don’t want to receive these notification email on your site, then use the below WordPress snippets inside your functions.php file.
Below code will disable the default WordPress new user notification features, It means after adding this code in your wp-content/themes/your-theme-folder/functions.php file site Admin can’t get any email notification whenever new user register to his WordPress site.
1 2 3 4 5 6 7 8 9 |
<?php //disable default WordPress new user notification emails if (!function_exists('wp_new_user_notification')) { function wp_new_user_notification( $user_id, $deprecated = null, $notify = '' ) { return; } } ?> |
I hope this tutorial helped you, Do Like & share with your friends 🙂
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.
Article Tags: wordpress beginner, wordpress beginners, wordpress beginners tutorial, wordpress tutorial, wordpress tutorial for beginner, wordpress tutorial for beginners, wordpress tutorials, wordpress tutorials for beginners