Other form recipient than admin
-
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,
ManjaThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.