Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
// Adding this to get the form and entry object from Gravity Forms so I can test the connector.
add_action('gform_after_submission', 'print_form_and_entry_object', 10, 2);
function print_form_and_entry_object($entry, $form) {
ob_start();
var_dump($entry);
var_dump($form);
$contents = ob_get_contents();
ob_end_clean();
error_log($contents);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.