Skip to content

Instantly share code, notes, and snippets.

@ajmorris
Created January 15, 2013 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ajmorris/4541295 to your computer and use it in GitHub Desktop.
Save ajmorris/4541295 to your computer and use it in GitHub Desktop.
<?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