this is the hack I found:
– there is a field in the posted_data array called “_wpcf7_unit_tag”
– it contains (as I write these words) 4 bits of information – the third of which is the postid within which the form was embedded.
I extracted the postid and then used get_post to get at all the information I was looking for.
I still believe it would be more consistent behavior to include the special tags in the posted_data array.
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: Contact Form 7] special mail tags within the "wpcf7_before_send_mail" hook’ is closed to new replies.