[ad_1]
Hi,
in our contact form, submissions should not be sent to the admin email address. I have used the snippet provided for this purpose. However, it ensures that the message is not sent at all. Without the snippet, the message is sent to the admin address without any issues.
I used this snippet:
function custom_form_block_recipients( $recipients ) {
$recipients = ‘other address’;
return $recipients;
}
add_filter( ‘form_block_recipients’, ‘custom_form_block_recipients’ );
Thanks,
Manja
The page I need help with: [log in to see the link]