• Resolved viewup

    (@viewup)


    Hi, i’m reading the cookbook (https://contactform7.com/category/cookbook/) section. I am developing a plugin that integrates with contact form 7.
    basically, my plugin is a shopping cart. it can integrate with contact form in 2 ways:

    • rendering the cart on the form
    • rendering a hidden field on the form and my cart will be rendered separately.

    i want to do the second option, this way the contact form will only have a reference of my plugin, and both will work separated.

    Until this point, i am doing fine. but now, i need to change the way my field is rendered on the email. i cannot find this on the cookbook.

    what i need is a filter or something like this, to render a table with my data, instead a simple string.

    Is there any filter that does this? any documentation i can learn about?

    sorry for my bad english.

    Best regards,
    Maxwell Souza – ViewUp

    • This topic was modified 8 years, 11 months ago by viewup.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Maybe you can use the wpcf7_special_mail_tags filter to do it. Find it in includes/mail.php.

    Thread Starter viewup

    (@viewup)

    I’ve ended using the wpcf7_mail_components filter to change the email content. i did a REPLACE from my plugin code to my custom HTML

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Help with API: changing email render’ is closed to new replies.