Feature request
-
Can we please have option to schedule active/inactive date & time.
Just have schedule option enable/disable, and if enabled, two additional fields, start and end date.
Something like:
tpbr_start = strtotime(“2024-06-21T00:00”);
tpbr_end = strtotime(“2024-06-25T00:00”);if ( time() > $tpbr_start && time() < $tpbr_end) {update_option( ‘tpbr_status’, ‘active’ );}
else update_option( ‘tpbr_status’, ‘inactive’ );
- You must be logged in to reply to this topic.