What you are trying to do – approve a user in the admin and send an email – must be done using action and filter hooks, either by a plugin you’re using or your own code in your child theme or a plugin.
To approve a user, take a look at the user_register
, edit_user_profile
, edit_user_profile_update
and load-user-edit.php
hooks to get started. In your own approval code, you would then structure your email and send it with the wp_mail()
function.
Try searching the net for detailed solutions, you should be able to find blog posts with ready code.
Related Posts:
- Disable user registration password email
- How do I customise the new user welcome email
- User Without Email?
- Allow Duplicate Email Address for Different Users
- Email confirmation on registration
- Email as Username in registration
- Handle registrations in WordPress when user doesn’t have any email?
- Email notification after registration in WordPress
- wordpress do not let user registered with info@ email and other reserved emails to get registered by users
- User registration email and let user choose pasword
- 2 Email addresses for each user
- Script or plugin to send activation email automatically again after 2 hours
- how to email username and password to admin of new registration
- WordPress Won’t Send Email When a User Register
- Programming WordPress to Send an Email on Registration Form Submit?
- How do I troubleshoot registration/password email errors?
- Auto Log In Users after registration and send confirmation email
- Send email for confirmation during user registration
- User Without Email?
- I need to verify emails when users signup
- Check if “Send the new user an email about their account” is ticked
- WP Mail isn’t sending user account messages, does send from plugins
- User Registration – no Email required
- Get emails of register user in WordPress
- Duplicate notifications for new user registration
- Allowing Loading/Downloading of .mp3
- Create WP account from an external email form submission?
- Allow users to register as a higher role than default with code
- SMTP connect() failed PHPmailer – PHP
- What is the difference between ports 465 and 587?
- How do you update user_email on the front end in WP 3.3?
- Customizing lost password email
- Login email after registration never sent or received
- How do i send mail with custom Form Data using WordPress
- Fwd: [Website Name] Notice of Email Change [closed]
- Send all WPMU emails via SMTP
- How to disable wordpress confirmation email for new users
- Locked out of my own blog and password reset not working
- email wordpress users using BCC
- email sends from [email protected] even though I have it set to something else
- How to sent one form values to 2 different sites in wordpress
- General Setting Allow Multiple Email Notification
- Send Notifications to All Admins
- Trigger WordPress Actions from Email?
- Contact form sender email
- WordPress Add New User – Send an Activation Email
- Send email only upon draft
- Emails marked as spam because it’s contain via box4231.bluehost.com
- How to change the text of automatic E-Mails e.g. after changing your password? (German localization)
- Limit number of emails per second
- WordPress reset password email is not working – woocommerce and checkmail does work
- Correctly configure SPF/DMARC record to work with WordPress [closed]
- Share pdf with a friend via email [closed]
- How to change the default mail when admin approuved an user?
- Mail function is not working
- How to set up a simple email subscription?
- Email user on WordPress upgrade
- Send bulk emails without timeout
- How to send post notification when a Author and Contributor post?
- Prevent sending emails on user creation in OOP context?
- WordPress get_the_content losing formatting when emailed
- Mailing list sign up form without plugin
- Retrieve duration since sign up
- Is it possible to not receive email notifications for comments?
- Confirmation required on users email change
- Email address used by website but I do not know where
- wp_mail not sending email on custom function
- Changing wordpress admin email [closed]
- Send clear password via mail
- Change email address change notice from WordPress
- Getting image in mail
- WP stopped emailing notifications about new comments
- How to prevent the scheduling of the same event on the same day
- How to change the format of the subcriber email
- wp_mail() won’t send mail when it’s a variable, only when hard coded
- I just had an email from wordpress. what does it mean?
- Alternative to email notification system?
- phpmailer reply to message id using AddCustomHeader
- About Custom Email Template Design Responsive
- Send email using wordpress plugin on behalf of someone with their permission
- How to apply a function to the value $email of get_user_by to override email_exists?
- Not receiving any sign up mail, when user registers… Both admin & user
- Use [from-email] from the contact form as sender’s email
- wp_mail send multiple emails in a loop
- Can’t change headers / From for wp_mail()
- How to customize ‘WordPress’ in sent email using wp_mail function?
- New user notification issue
- E-Mail Notification on post edit
- Why do WordPress emails to multiple recipients include \n in the list
- Whitelist email sent by WordPress
- delete of @ in emailaddress when starting unsubscribe link in url
- Showing “diaplay_name”
- is_email() function Not Validating within Foreach Loop
- Send Custom Post Notification to Followers
- Mail function not working with user accounts
- Send email from WordPress
- Email setting in wordpress
- Not able to override pluggable function with a mu_plugin
- Display “a generated one [avatar] based on their e-mail address”
- Send email once every 12 months to a particular user [closed]