WordPress.org

Ready to get started?Download WordPress

Forums

Automatically publish random unpublished post (1 post)

  1. blueshark
    Member
    Posted 2 years ago #

    Hey Guys,

    I want that every Monday morning at 8:15 a.m. an unpublished post will be published automatically, when an unpublished post exists.

    I already have the code, which publishes a random unpublished post, but I don't know how to execute it. The function wp_schedule_event accepts parameters like "hourly", "daily", etc. Is there an opportunity to give a more precise scheduling time?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic