I have a custom post type with a completely different interface (basically, I've removed all wordpress metaboxes and added my own). I am trying to build a schedule metabox for this custom post type (because I removed the original publish metabox). Should I do this over wp cron or use custom status, or?

  • Why have you removed native publishing method? What do you mean exactly by “schedule metabox”? How should that CPT be published? – Krzysiek Dróżdż Jul 2 '18 at 11:29
  • I do not use the edit page interface provided from wordpress, instead I use a custom GUI and I use only the database functionality from wordpress. – Кристиян Кацаров Jul 2 '18 at 11:32
  • Something like wp_insert_post but for scheduling available maybe? – Кристиян Кацаров Jul 2 '18 at 11:35
  • so why don’t you use this function and set your posts as future? – Krzysiek Dróżdż Jul 2 '18 at 12:19
  • will it work if I set future date? What if I want to update a post – Кристиян Кацаров Jul 2 '18 at 13:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.