Can't find where to edit code to change Inbound Messages fields.
-
Hi all, I am using Flamingo for a somewhat different sort of function than a contact form and it’s working perfectly except that I need to change the variables that give the Message in Flamingo a Subject and From.
I have read previous threads here where people have explained how to do this but I think the code might have changed in a recent update?
in “contact-form-7/modules/flamingo.php” I see,
`$email = wpcf7_flamingo_get_value( ’email’, $contactform );
$name = wpcf7_flamingo_get_value( ‘name’, $contactform );
$subject = wpcf7_flamingo_get_value( ‘subject’, $contactform );`Which is similar to what others were talking about but not exactly the same and I managed to break it while trying to edit it.
Basically all I want to do is be able to change what variable the plugin pulls from, for example, I do not use “[your-subject]” in my Subject line, I use some default text as well as a date variable. I also don’t use an e-Mail field and I have to use a different variable for [your-name] so that it displays correctly within the message on Flamingo.
Thank you!
- The topic ‘Can't find where to edit code to change Inbound Messages fields.’ is closed to new replies.