trigger_franchise
đ§ update_caldav_calendar_color
Update the calendar color in CalDAV
function update_caldav_calendar_color($caldav_url, $color, $password) {
try {
if (empty($caldav_url) || empty($color)) {
error_log("Missing required parameters for calendar update: URL or color");
return false;
}
if (empty($password)) {
error_log("Missing password for calendar authentication");
return false;
}
// ... (truncated)
âī¸ Parameters
- $caldav_url (string) URL of the CalDAV calendar
- $color (string) Calendar color to set (in hex format #RRGGBB)
- $password (string) CalDAV user password
âŠī¸ Returns
(bool) Success status