Title: Adjustable reminder function for iCal
Last modified: June 4, 2024

---

# Adjustable reminder function for iCal

 *  Resolved [mikeknappe](https://wordpress.org/support/users/mikeknappe/)
 * (@mikeknappe)
 * [2 years ago](https://wordpress.org/support/topic/adjustable-reminder-function-for-ical/)
 * Hi Joe,
 * since you’re quite active in the support forum and you’re willing to add new 
   features and fix bugs I have another thing, which is a bit unconfortable with
   the plugin.
 * You have a filter, which can be installed to add a reminder function to the dates
   in global. Currently I have the following in an own plugin to fix/adjust the 
   reminder functionality within iCal subsriptions.
 *     ```wp-block-code
       //Set a default calendar alarm for My Calendar Plugin
       function set_default_calendar_alarm( $retArr, $postId, $postArr )
       {
           $retArr = array(
               'TRIGGER' => '-PT2H' //2h before the appointment starts
           );
           return $retArr;
       }
       add_filter( 'mc_event_has_alarm', 'set_default_calendar_alarm', 10, 3 );
       ```
   
 * Problem: I need to write code on my own. Which is not at all a problem for me,
   but maybe for 90% of the other users. So, would it be possible that you create
   a global setting, which can be adjusted to set a calendar wide reminder option?
   Furthermore, if I remind myself correct, it’s only possible to set one time, 
   because you handle one one entry of the array at all. It throught it wasn’t possible
   so set more than one reminder, altought iCal format is able to
 * It would be awesome to have such a functionality represented as per-default options
   in the global settings and adjustable within each new appointment, which take
   the data from the global setting; and a cream topping an array – so that I can
   setup more than one reminder via the UI / backend.
 * Best regards.
   Mike

Viewing 1 replies (of 1 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/adjustable-reminder-function-for-ical/#post-17932584)
 * Thanks! I’ve added this as a feature request in my Github repository. I’ve added
   it as a candidate for My Calendar Pro; this is probably not something I’ll add
   to the free version, but I’ll definitely work on it.

Viewing 1 replies (of 1 total)

The topic ‘Adjustable reminder function for iCal’ is closed to new replies.

 * ![](https://ps.w.org/my-calendar/assets/icon-256x256.png?rev=1097576)
 * [My Calendar - Accessible Event Manager](https://wordpress.org/plugins/my-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/my-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-calendar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/adjustable-reminder-function-for-ical/#post-17932584)
 * Status: resolved