最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

block editor - wp_schedule_single_event issue with save_post hook in gutenberg

programmeradmin1浏览0评论

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)

  1. 暂无评论