← All changes
|
app/Services/Integrations/Elementor/ElementorIntegration.php
+1
-2
2.3.0
→
2.5.0
View file →
| @@ -109,11 +109,10 @@ | ||
| 109 | 109 | wp_send_json_error(['message' => __('No calendar ID provided', 'fluent-booking')]); |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | $calId = intval($_POST['cal_id']); |
| 113 | - $events = []; // Fetch events using your getCalendarEvents method or similar | |
| 113 | + $events = []; | |
| 114 | 114 | |
| 115 | - // Example of fetching events (you need to replace this with your actual method) | |
| 116 | 115 | $events = $this->getCalendarEvents($calId); |
| 117 | 116 | |
| 118 | 117 | wp_send_json_success($events); |
| 119 | 118 | } |