WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Salesforce Add-on
Requesting action hook (1 post)

  1. pwsolutions
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.