Title: using wpcf7_before_send_mail action
Last modified: August 21, 2016

---

# using wpcf7_before_send_mail action

 *  [timrussell](https://wordpress.org/support/users/timrussell/)
 * (@timrussell)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/using-wpcf7_before_send_mail-action/)
 * The action wpcf7_before_send_mail passes the current_form object to the action
   function. With the latest update, the current_form object has changed, its missing
   the posted_data property, has this changed to something else or has this been
   removed?
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 1 replies (of 1 total)

 *  [Pete](https://wordpress.org/support/users/angio/)
 * (@angio)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/using-wpcf7_before_send_mail-action/#post-5100327)
 * [@timrussell](https://wordpress.org/support/users/timrussell/), would you mind
   showing your code. I’m also using an action hook in a plugin which has completely
   stopped working. The example methods on CF7’s site i’d be able to use, but my
   code has completely stopped working. I posted a few questions before yours in
   this forum with my sample code.
 * [http://wordpress.org/support/topic/my-plugin-using-wpcf7_before_send_mail-isnt-working?replies=1](http://wordpress.org/support/topic/my-plugin-using-wpcf7_before_send_mail-isnt-working?replies=1)

Viewing 1 replies (of 1 total)

The topic ‘using wpcf7_before_send_mail action’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pete](https://wordpress.org/support/users/angio/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/using-wpcf7_before_send_mail-action/#post-5100327)
 * Status: not resolved