0

Save Gravity Forms Data to a Custom Database Table

[code language=”php”] add_action(‘gform_after_submission’, ‘endo_add_entry_to_db’, 10, 2); function endo_add_entry_to_db($entry, $form) { // uncomment to see the entry object // echo ‘<pre>’; // var_dump($entry); // echo ‘</pre>’; $source = $entry[‘source_url’]; $email = $entry[5]; $param1 = $entry[2]; $param2 = $entry[3]; global $wpdb; //… Continue Reading