Title: Help with API: changing email render
Last modified: June 7, 2017

---

# Help with API: changing email render

 *  Resolved [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-with-api-changing-email-render/)
 * Hi, i’m reading the cookbook ([https://contactform7.com/category/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](https://wordpress.org/support/users/viewup/).

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-with-api-changing-email-render/#post-9207490)
 * Maybe you can use the `wpcf7_special_mail_tags` filter to do it. Find it in includes/
   mail.php.
 *  Thread Starter [viewup](https://wordpress.org/support/users/viewup/)
 * (@viewup)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-with-api-changing-email-render/#post-9210091)
 * 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.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [viewup](https://wordpress.org/support/users/viewup/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/help-with-api-changing-email-render/#post-9210091)
 * Status: resolved