Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    The Plugin just calls wp_insert_post. According to its documentation

    post_status: If providing a post_status of ‘future’ you must specify the post_date in order for WordPress to know when to publish your post. See also Post Status Transitions.

    Seems like you would set a form field post_status=future and post_date=<user input date>

    Thread Starter mattbrowningnz

    (@mattbrowningnz)

    Yes, fantastic. That looks like it’ll do the trick. Thanks so much for your help, cheers.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Schedule date of posts’ is closed to new replies.