Title: Requesting action hook
Last modified: August 21, 2016

---

# Requesting action hook

 *  [pwsolutions](https://wordpress.org/support/users/pwsolutions/)
 * (@pwsolutions)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/requesting-action-hook/)
 * In a future version update, could you please consider adding at least two action
   hooks to this plugin in the send_request function of the GFSalesforceWebToLead
   object?
 * Action Hook 1:
    do_action( ‘gf_sf_web_to_lead_post_request’, $args );
 * This would be placed just before the call to wp_remote_post so that people could
   hook into the arguments to see them ( for debug purposes ).
 * Action Hook 2:
    do_action( ‘gf_sf_web_to_lead_post_result’, $result );
 * This would be placed just after the call to wp_remote_post so that people could
   hook into the generated results to see them ( for debug purposes )
 * Filters would work great as well … but I’d just like to be able to easily see
   what is being sent / returned so that when there are issues I can see them and/
   or have them emailed to me so that I know something is amiss.
 * Thanks!
 * [http://wordpress.org/extend/plugins/gravity-forms-salesforce/](http://wordpress.org/extend/plugins/gravity-forms-salesforce/)

The topic ‘Requesting action hook’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-salesforce_fbfdff.svg)
 * [Gravity Forms Salesforce Add-on](https://wordpress.org/plugins/gravity-forms-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-salesforce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [pwsolutions](https://wordpress.org/support/users/pwsolutions/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/requesting-action-hook/)
 * Status: not resolved