Gragrid: Gravity Forms + SendGrid Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Integrate your Gravity Forms with SendGrid to send submissions with email fields to your contact lists.
Advanced
You can customize the contact data sent to SendGrid in the entry submission context with this hook:
apply_filters( 'gragrid_contact_params', array $contact_params, array $entry, array $form )
$contact_params
(array): Contact parameters, includes first name, email, custom fields, etc.$entry
(array): The form entry that was just created.$form
(array): The current form, the origin of the submission.
You can also customize the SendGrid API requests using the following hook:
apply_filters( 'gragrid_request_args', array $args, string $path )
$args
(array): Request arguments, includes headers, method, body, etc.$path
(string): The specific API endpoint being called.