wp_schedule_single_event issue with save_post hook in gutenberg

Question

I am using the "save_post" hook to call wp_schedule_single_event. Everything works as expected with the classic editor, however when I try a post in gutenberg there isn’t actually a cron entry that is getting created. I know it’s still calling the hook since it’s updating some post meta values. Any ideas why the cron entry is not saving with the wp_schedule_single_event call?

0
Aaron A 2 months 0 Answers 7 views 0

Leave an answer