PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 8.8.4
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v8.8.4
8.8.4 8.8.3 8.8.2 8.8.1 8.8.0 8.7.9 8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 All 540 releases
← All changes | addons/automator/includes/triggers/cf7-triggers.php +3 -3 8.7.6 → 8.8.4 View file →
@@ -27,9 +27,9 @@
27 27 /**
28 28 * Register the triggers
29 29 */
30 30 public function register() {
31 - error_log( 'WPbot Automator - CF7_Triggers::register() called' );
31 + //error_log( 'WPbot Automator - CF7_Triggers::register() called' );
32 32 add_action( 'wpcf7_mail_sent', array( $this, 'handle_cf7' ), 10, 1 );
33 33 }
34 34
35 35 /**
@@ -35,9 +35,9 @@
35 35 /**
36 36 * Handle Contact Form 7.
37 37 */
38 38 public function handle_cf7( $contact_form ) {
39 - error_log( 'WPbot Automator - handle_cf7 called for form ID: ' . $contact_form->id() );
39 + //error_log( 'WPbot Automator - handle_cf7 called for form ID: ' . $contact_form->id() );
40 40 $submission = \WPCF7_Submission::get_instance();
41 41 if ( $submission ) {
42 42 $posted_data = $submission->get_posted_data();
43 43 $data = array(
@@ -93,9 +93,9 @@
93 93 if ( ! isset( $data['name'] ) && isset( $data['full_name'] ) ) {
94 94 $data['name'] = $data['full_name'];
95 95 }
96 96
97 - error_log( 'WPbot Automator - CF7 Trigger Firing with mapped data: ' . wp_json_encode( $data ) );
97 + //error_log( 'WPbot Automator - CF7 Trigger Firing with mapped data: ' . wp_json_encode( $data ) );
98 98 $this->run( array(
99 99 'sub_id' => 'cf7_submit',
100 100 'data' => $data,
101 101 ) );