projects
/
WP-Plugins
/
glm-member-db-leads.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe14f47
)
Clean up frontHooks
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 11 Jul 2016 13:08:22 +0000
(09:08 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 11 Jul 2016 13:08:22 +0000
(09:08 -0400)
Removing the echo statement (debug stuff)
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
7cbecd2
..
115e344
100644
(file)
--- a/
setup/frontHooks.php
+++ b/
setup/frontHooks.php
@@
-172,7
+172,7
@@
add_action( 'gform_after_submission', function( $entry, $form ){
if ( !$lead_id ) {
return;
}
- echo '<pre>$glm_leads_entry: ' . print_r( $glm_leads_entry, true ) . '</pre>';
+
//
echo '<pre>$glm_leads_entry: ' . print_r( $glm_leads_entry, true ) . '</pre>';
// create the lead entry
$lead_entry = $this->wpdb->insert(
GLM_MEMBERS_LEADS_PLUGIN_DB_PREFIX . 'lead_entry', // table