I also attempted it with the quotes around the email address
function testimonial_destination( $email ) {
return [email protected];
}
add_filter( ‘new_testimonial_notification_email’, ‘testimonial_destination’, 10, 1 );
Unfortunately that doesn’t seem to be working. It is still sending directly to my admin email. Any thoughts?
Thanks for your help. The code that was above the DOCTYPE was being generated by a plugin that expires posts and pages. I disabled the plugin and bingo, page is running smooth.