Created
January 15, 2013 19:30
-
-
Save ajmorris/4541295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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