Description
Use to display the custom mail tags to Google Sheet Pro tab of Contact Form 7 settings and fetch the values using CF7 hook “wpcf7_special_mail_tags” to the google sheet.
Usage
Copy to Clipboard
Parameters
- $custom_mail_tags : An array to pass the custom mail tag name example “_current_url”.
- $form_id : Contact Form 7 form id.
Example
Copy to Clipboard
To pass values to the Google Sheet, use CF7 hook as following :
Copy to Clipboard
Output for above example :
http://demo.gsheetconnector.com/wp-json/contact-form-7/v1/contact-forms/137/feedback