edcal_default_time
-
I’m using the following code snippet to attempt to change the default post time to 7:00 am
update_option( 'edcal_default_time', '07:00' );
When I click “new post” in the editorial calendar, the default time then shows correctly as 7:00 am.
But if I drag a draft post onto the calendar from the unscheduled list, I can’t seem to get the calendar to give it a default time of 7:00 am. Whatever time I use in the code snippet, I seem to get various other times when dragging a draft post onto the calendar (9am, 1pm, etc.), but never 7 am. This happens even with post drafts that don’t have a time set on them (i.e., “Publish” is just set to “Immediately”).
Is there some other code I need to add to get the default time I want to apply to draft posts dragged onto the calendar as well?
Thank you so much!
The page I need help with: [log in to see the link]
- The topic ‘edcal_default_time’ is closed to new replies.