Changing email notification headers

In order to manually change email headers we will need to hook into the email send process using our custom WordPress hook called ‘inbound_lead_notification_email_headers‘.

To create a filter on this hook please add the following code to a custom plugin or your theme’s functions.php file: