Hi @missveronicatv
This plugin (UM Additional email Recipients) is an extremely useful plugin. I’m already using it to add additional emails to certain notices. I don’t want to alter it.
My goal is: that if the Admin sets a member to Approved, specific emails are notified based on the registration form entries. Sometimes it is 2 people sometimes it is 3. It’s not just as simple as adding more emails to that notice. It will depend on the selections made.
It looks like this is the appropriate “trigger”:
<?php
add_action( 'um_when_status_is_set', 'my_when_status_is_set', 10, 1 );
function my_when_status_is_set( $user_id ) {
// your code here
}
?>
Your github is a treasure trove, by the way!