I have custom post type “Art masters”.
Each post is master’s profile.
In their profiles isset custom fiels name “master_email”.
I need to send for master email notification every time if new comment is posted.
How i can call post new comment function for use wp_mail? Thank you for help!
You can try something like this in your functions.php
You can try this. Example:
helenyhou@example.com