-
Notifications
You must be signed in to change notification settings - Fork 1
Description
This is in connection with the IFLZonePlusOne whenIsSunsetToday() function -- at first the alarm will just consist of sending an email. Also, there may be a positive or negative offset in terms of optimum pretty sunset time vs actual sunset time, and or whether say a five-minute advance-notice period would be wanted.
Look at among others:
https://stackoverflow.com/questions/40028289/alarm-sound-at-certain-time-of-a-day
https://developer.wordpress.org/plugins/shortcodes/
https://developer.wordpress.org/reference/functions/wp_enqueue_script/ for "the recommended method of linking JavaScript to a WordPress generated page"
https://github.com/tachyonlabs/autotrax/blob/master/AutoTRAX/book/templates/book/book.html for the way I used JavaScript's setTimeout as a timer/alarm