Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

how can i inform other users about new user registration? [closed]

You can use the user_register hook and then mail all your subscribers.
Something like:

add_action('user_register','notify_new_member');

function notify_new_member(){
  global $wpdb;
  $usersarray = $wpdb->get_results("SELECT user_email FROM $wpdb->users;");    
  $users = implode(",", $usersarray);
  mail($users, "New Member", 'A new member has just joined.');
}

Related Posts:

  1. How to set up User email verification after Signup?
  2. Send Email to Users after Deleting Account
  3. Add email addresses to already registered users
  4. What is correct way to change user’s email?
  5. Send clear password via mail
  6. User with same Mail but a different additional info(like domain)
  7. Send user auto generated password on different email
  8. New User Registration email
  9. How to change the default registration email ? (plugin and/or non-plugin)
  10. How to allow an user role to create a new user under a role which lower than his level only?
  11. Display user registration date
  12. get_user_meta() doesn’t include user email?
  13. Confirmation required on email change
  14. Email user when password is reset by admin
  15. WordPress auto login after registration not working
  16. Remove email verification when new user register
  17. How to let user set password on registration
  18. How to display custom user meta from registration in backend?
  19. How can I get users email (and additional data) from the rest API?
  20. How to discover and delete unused accounts?
  21. Multi-steps WordPress registration : in 4 steps how to?
  22. Force users to complete their profile after they register? How to
  23. How do i auto approve new user?
  24. Copy a user from one WordPress site to another
  25. Can I hook into the invite user process to verify their email address is from a certain domain?
  26. How to get user ID during registration and add it to a custom table
  27. Get user info outside WordPress
  28. Limit content by user registration date
  29. What is the best way to avoid spammers registering to my blog?
  30. How to customize wp_signon()
  31. How Do I Prevent Junk Account Creation?
  32. Buddypress – Send New User Activation Link to Admin [closed]
  33. Can I bulk register contributors for a new blog
  34. New user notification doesn’t include activation link
  35. WordPress to use Drupal users’ credentials
  36. Create not-activated user in code, wordpress
  37. Front End Registration Form Code – Password Field Not Saving
  38. How can I verify users facebook ID that he provides during signup process
  39. Adding second Email address for WP user notifications
  40. Suddenly all emails in User have [email protected]
  41. How to pass external variables to the wp_new_user_notification_email filter?
  42. Plugin for limiting user registration based on ip with expiry period?
  43. Restricted registrations or removing the ability to edit your password/email
  44. Can user login details be used for other applications?
  45. Users managed to register on website with no register button?
  46. Translate emails into the language of the user
  47. Add value in user table when user is created
  48. Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?
  49. Allow WooCommerce existing customers to checkout without being logged in [closed]
  50. wordpress disable login for unverified user
  51. How can I attach a user to another user with user meta
  52. Register user when after filling contact form
  53. Creating user without username and password
  54. WordPress registration without wp-login.php and wp-admin folder, is it possible?
  55. Check for valid email after user inactivity?
  56. Unable to change email address of admin on localhost
  57. How to set custom avatar for users?
  58. Send email to all registered users [closed]
  59. Assign random (and unique) user meta upon registration
  60. How to add registration date and last login date to user list page
  61. how to remove email field from default user registration form on wordpress
  62. How to programmatically read the plan text password when user register?
  63. Custom registration and pending approval
  64. Automatic Website user password generation
  65. How to hide some users to unlogged users [closed]
  66. Need to manually add multiple WP users with same e-mail address (with good reason)
  67. Unique password to access a section site
  68. Make new users automatically approved
  69. Adding more fields to the add user page on dashboard
  70. WP Create User – Preventing repeated information
  71. Edit text of WordPress “Register” button
  72. set automatically email address for WordPress users
  73. WordPress 5.8 – Hide or Remove personal fields from admin Profile page
  74. How do I update user email from frontend input field?
  75. Custom Password Reset
  76. Can I add a unique code for each user based on the location?
  77. How can i display pagination in custom comment list?
  78. Safely changing UserID’s, re-using deleted UserID’s and automatically using deleted userID’s instead of an increment
  79. Single Sign On (SSO) between two WordPress websites
  80. Disable emails for new user registration
  81. Insert user register into my own user table instead of wp own user
  82. What is the best user experience for user to perform an action using email?
  83. How to restrict Admin from creating new users from Add new user screen in dashboard to only of one domain?
  84. Registration page as homepage
  85. User email verification without a plugin, is it possible?
  86. New User ID not working in custom function with user_register hook
  87. Exclude Current user email and send notification
  88. Set user role on registration so can upload file to own media library area
  89. Disallow user registration/checkout via Hotmail/Yahoo
  90. Retrieve New user’s ID
  91. Let admin users edit member profiles from front end
  92. view and update form only for registered users
  93. Integrating Facebook Registration (and Login) on a WordPress page
  94. Add custom input field in new user page
  95. Email Subscribe for Downloads in WordPress
  96. MySQL query to list users who never signed in
  97. Wordpres password as plain text in email
  98. Remove My Account Menu items in Woocommerce based on user roles
  99. WordPress password as plain text in email
  100. Disable Email Register form
Categories users Tags account, email, user-registration, users
How to give different user access to different people?
Unable to access my plugins [closed]

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress