Home › Forums › General Issues › Notify User › Reply To: Notify User
the function wp_mail() can take an array or a comma separated list of emails to sent the email to https://developer.wordpress.org/reference/functions/wp_mail/.
You would need to get the users that you want to email. How you do that would depend on where and how they are set. If you’re using a user field the you’d need to get the users selected in that field and loop through them to get the list of email addresses.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.