Add extra standard recipient email on ticket reply
-
Hello everyone.
What i want to do is add an extra standard email address as a recipient when a ticket reply is posted.
I tried using the https://developer.getawesomesupport.com/documentation/hooks-and-filters/wpas__user_email_notifications_email/ filter hook and the following code :
add_filter( 'wpas__user_email_notifications_email', 'add_extra_email', 10, 3); function add_extra_email( $email_variables, $case, $ticket_id ) { $temp_arr_user_rep = array(); $temp_arr_user_rep["user_id"]="0"; $temp_arr_user_rep["email"]="[email protected]"; array_push($email_variables["recipient_email"],$temp_arr_user_rep); return $email_variables; }
but it doesn’t seem to work….
Any suggestions??Thank you in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add extra standard recipient email on ticket reply’ is closed to new replies.