summaryrefslogtreecommitdiff
path: root/icalExport.php
diff options
context:
space:
mode:
authorzeldakatze <coffee@zeldakatze.de>2025-08-17 23:32:11 +0200
committerzeldakatze <coffee@zeldakatze.de>2025-08-17 23:32:11 +0200
commit40b324b8d82cedf605e03f025c8cc4826fdbd909 (patch)
treeaf589bebb7c6b9da2bba46e685625ac6cde047ed /icalExport.php
parent50a67a31aaa18ec96019379a489ec65d2d641162 (diff)
downloadinfoCalendar-main.tar.gz
infoCalendar-main.zip
stop wordpress from messing up the iCal feedHEADmain
Diffstat (limited to 'icalExport.php')
-rw-r--r--icalExport.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/icalExport.php b/icalExport.php
index 1e90c19..5d6d5f3 100644
--- a/icalExport.php
+++ b/icalExport.php
@@ -133,7 +133,8 @@ function doICalExport(WP_REST_Request $request) {
infocalendar_printICalTextFromView($calendarView);
- /* */
+ /* we don't want any more wordpress handleing from here */
+ exit(0);
}