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:
- How to set up User email verification after Signup?
- Send Email to Users after Deleting Account
- Add email addresses to already registered users
- What is correct way to change user’s email?
- Send clear password via mail
- User with same Mail but a different additional info(like domain)
- Send user auto generated password on different email
- New User Registration email
- How to allow an user role to create a new user under a role which lower than his level only?
- Display user registration date
- get_user_meta() doesn’t include user email?
- Confirmation required on email change
- Whats the best way to share user data across multiple WordPress websites?
- Email user when password is reset by admin
- WordPress auto login after registration not working
- What the user_status column?
- Problem with Hebrew characters in username
- Remove email verification when new user register
- How to display custom user meta from registration in backend?
- How can I get users email (and additional data) from the rest API?
- How to discover and delete unused accounts?
- Multi-steps WordPress registration : in 4 steps how to?
- Send activation email to user after signup [duplicate]
- Force users to complete their profile after they register? How to
- How do i auto approve new user?
- Can I hook into the invite user process to verify their email address is from a certain domain?
- How to get user ID during registration and add it to a custom table
- Get user info outside WordPress
- Limit content by user registration date
- What is the best way to avoid spammers registering to my blog?
- ACF Upload Image in front-end with custom form
- How to customize wp_signon()
- Can I bulk register contributors for a new blog
- New user notification doesn’t include activation link
- WordPress to use Drupal users’ credentials
- Create not-activated user in code, wordpress
- Adding second Email address for WP user notifications
- How can I check if a user’s email exists in the database
- Suddenly all emails in User have [email protected]
- How to pass external variables to the wp_new_user_notification_email filter?
- Plugin for limiting user registration based on ip with expiry period?
- Restricted registrations or removing the ability to edit your password/email
- Creating user in Firebase after WordPress user registration
- Can user login details be used for other applications?
- Users managed to register on website with no register button?
- Translate emails into the language of the user
- Add value in user table when user is created
- Displaying different in-page content to cliente/admin
- Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?
- Allow WooCommerce existing customers to checkout without being logged in [closed]
- Can i add password field into my wp registration form?
- wordpress disable login for unverified user
- How can I attach a user to another user with user meta
- Register user when after filling contact form
- Creating user without username and password
- WordPress registration without wp-login.php and wp-admin folder, is it possible?
- How to notify specific users when i’m posting/modifying a new post
- Check for valid email after user inactivity?
- How to set custom avatar for users?
- Send email to all registered users [closed]
- Assign random (and unique) user meta upon registration
- How to add registration date and last login date to user list page
- how to remove email field from default user registration form on wordpress
- How to programmatically read the plan text password when user register?
- Custom registration and pending approval
- Automatic Website user password generation
- Customising “user ids” and add to ‘user’ panel in the admin area
- How to hide some users to unlogged users [closed]
- Need to manually add multiple WP users with same e-mail address (with good reason)
- Unique password to access a section site
- Make new users automatically approved
- Adding more fields to the add user page on dashboard
- WP Create User – Preventing repeated information
- Edit text of WordPress “Register” button
- set automatically email address for WordPress users
- WordPress 5.8 – Hide or Remove personal fields from admin Profile page
- How do I update user email from frontend input field?
- Custom Password Reset
- Can I add a unique code for each user based on the location?
- Perform multiple actions after wp_insert_user()
- How can i display pagination in custom comment list?
- Safely changing UserID’s, re-using deleted UserID’s and automatically using deleted userID’s instead of an increment
- Auto approve new users if their username is included in a predefined list
- Disable emails for new user registration
- Insert user register into my own user table instead of wp own user
- What is the best user experience for user to perform an action using email?
- Custom registration fields not appearing in user info
- How to restrict Admin from creating new users from Add new user screen in dashboard to only of one domain?
- Registration page as homepage
- User email verification without a plugin, is it possible?
- New User ID not working in custom function with user_register hook
- Set user role on registration so can upload file to own media library area
- Retrieve New user’s ID
- view and update form only for registered users
- Integrating Facebook Registration (and Login) on a WordPress page
- Add custom input field in new user page
- Email Subscribe for Downloads in WordPress
- Wordpres password as plain text in email
- Remove My Account Menu items in Woocommerce based on user roles
- WordPress password as plain text in email