Sorry I just found your page on customizing the plugin.
BUT… the code you have on your website doesn’t work. The subject line shows this: $subject = “[ then the rest of it ending with a ”
add_filter( ‘mcfb_email_subject’, function ( $to, $form ) {
return ‘$subject = “[*site*] Message from *name*”;’;
}, 10, 2 );
Hello @tania-tyler,
Yes, indeed, there was a typo on my website 🙂 You should use this code:
add_filter( 'mcfb_email_subject', function ( $to, $form ) {
$subject = "[*site*] Message from *name*";
return $subject;
}, 10, 2 );
That will work. Have a nice weekend 🙂
Thank you! Worked great. Love the simplicity of your plugin!
Thank you 🙂 Don’t hesitate to leave a little review, that will help the plugin a bit 🙂