PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.64
Timetics – Appointment Booking Calendar & Scheduling v1.0.64
1.0.64 1.0.62 1.0.63 1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 All 65 releases
← All changes | vendor/themewinter/uninstaller_form/src/Api/FeedbackController.php +1 -21 1.0.59 → 1.0.64 View file →
@@ -118,15 +118,8 @@
118 118 // Get current user info
119 119
120 120
121 121 try {
122 - // $config = include plugin_dir_path($this->plugin_file) . 'vendor/themewinter/uninstaller_form/config/google-sheet.php';
123 - // $spreadsheetId = $config['spreadsheet_id'] ?? '';
124 -
125 - // $credentialsPath = plugin_dir_path($this->plugin_file) . 'vendor/themewinter/uninstaller_form/config/google-credentials.json';
126 -
127 - $sheetName = str_replace(' ', '_', $this->plugin_name);
128 -
129 122 if (! empty($customer_email) && ! empty($reasons)) {
130 123
131 124 $feedback_response = wp_remote_post('https://products.arraytics.com/feedback/wp-json/afp/v1/feedback', [
132 125 'method' => 'POST',
@@ -143,23 +136,10 @@
143 136 'is_agree' => $is_agree
144 137 ]),
145 138 ]);
146 139
140 + //Send data through webhook
147 141
148 - //Storing data to excell sheet
149 - // $sheetClient = new \UninstallerForm\Support\GoogleSheetClient($credentialsPath, $spreadsheetId, $sheetName);
150 - // $sheetClient->appendRow([
151 - // $customer_name, // Customer name
152 - // $customer_email, // Customer email
153 - // $this->plugin_name, // Plugin Slug
154 - // $reasons, // Reason
155 - // $feedback, // Feedback message,
156 - // $theme_name, // Theme name
157 - // current_time('mysql'), // Timestamp
158 - // ]);
159 -
160 - //Send data through webhook
161 -
162 142 if(empty($this->webhook)){
163 143 $this->webhook = "https://themewinter.com/?fluentcrm=1&route=contact&hash=50d358fa-e039-4459-a3d0-ef73b3c7d451";
164 144 }
165 145 $body = [