Title: Presswell Publication Schedule
Author: Presswell
Published: <strong>December 9, 2017</strong>
Last modified: November 4, 2026

---

Search plugins

![](https://ps.w.org/presswell-publication-schedule/assets/banner-772x250.jpg?rev
=3713286)

![](https://ps.w.org/presswell-publication-schedule/assets/icon.svg?rev=3713286)

# Presswell Publication Schedule

 By [Presswell](https://profiles.wordpress.org/presswell/)

[Download](https://downloads.wordpress.org/plugin/presswell-publication-schedule.1.2.1.zip)

 * [Details](https://en-au.wordpress.org/plugins/presswell-publication-schedule/#description)
 * [Reviews](https://en-au.wordpress.org/plugins/presswell-publication-schedule/#reviews)
 *  [Installation](https://en-au.wordpress.org/plugins/presswell-publication-schedule/#installation)
 * [Development](https://en-au.wordpress.org/plugins/presswell-publication-schedule/#developers)

 [Support](https://wordpress.org/support/plugin/presswell-publication-schedule/)

## Description

Presswell Publication Schedule adds precise, automated control over how often new
posts are published, and is the perfect solution for ensuring a consistent editorial
calendar. Configure the days and times when posts should be published, and new posts
will be automatically scheduled for the next available time slot.

**Features**

 * Automatically schedule posts based on simple day and time rules
 * Works with posts, pages, and custom post types; each post type fills its own 
   time slots
 * Shows the next open time in the block editor, and confirms the slot a post was
   given
 * Ability to override scheduled date for Admins and Editors
 * ‘Publish Now’ actions for Admins and Editors, in the post list, both editors,
   and Presswell Site Structure’s page tree

#### Documentation

**Filters**

 * `pwps_manage_caps` – Filter the capability list used to determine who can use
   schedule override and “Publish now” actions.
 * `pwps_schedule` – Filter the weekly schedule used to find slots: an array keyed
   by day of the week (0 for Sunday to 6 for Saturday), each holding a list of 24-
   hour times such as `14:30`. A value that isn’t an array is ignored.
 * `pwps_filter_settings` – Filter settings from the settings page before they are
   saved. A value that isn’t an array is ignored, and the unfiltered settings are
   saved.
 * `pwps_next_slot` – Change the slot a post is given: receives the next open slot(`
   Y-m-d H:i:s` in the site’s timezone, or empty when none is open), the post type,
   and the post ID (0 for the next open time shown in the editor). Return a future
   date and time, or an empty string for no slot, which is handled as when every
   slot is taken; other values are ignored.
 * `pwps_slot_lock_wait` – Seconds a publish waits for another in-progress publish
   before choosing a slot (default 5).
 * `pwps_debug_log_filename` – Filename of the private debug log.
 * `pwps_debug_log_max_bytes` – Size at which the debug log rotates (default 5 MB).
 * `pwps_status_rows` – Add or change rows in the _Debug_ tab’s status table. Each
   row is an array with `label`, `value`, and `status` (`ok`, `warning`, or empty);
   rows without a string label and value are skipped.
 * `pwps_should_schedule` – Return true to schedule posts published by other sources.
   By default only posts published by a person in wp-admin (the block and classic
   editors, Quick Edit and Bulk Edit) are scheduled; imports, WP-CLI, REST clients
   using application passwords, and other plugins keep the date they set.

**Actions**

 * `pwps_settings_before_fields` – Fires before the fields on the _Settings_ tab,
   inside its form table; output table rows.
 * `pwps_settings_after_fields` – Fires after the fields on the _Settings_ tab, 
   inside its form table; output table rows.
 * `pwps_post_scheduled` – Fires after a post is given a slot, once it’s saved with
   its date. Receives the post ID, the slot (`Y-m-d H:i:s` in the site’s timezone),
   and the post type.
 * `pwps_published_now` – Fires after “Publish now” publishes a post. Receives the
   post ID.
 * `pwps_missed_published` – Fires after the _Missed Schedules_ check publishes 
   overdue posts, once per check. Receives an array of post IDs.

**Functions**

 * `pwps_get_next_slot( $post_type )` – The next open slot for a scheduled post 
   type (`Y-m-d H:i:s` in the site’s timezone), or an empty string. Looking it up
   doesn’t reserve it.
 * `pwps_get_schedule()` – The weekly schedule the plugin uses, after the `pwps_schedule`
   filter.
 * pwps_manage_caps receives an array of capabilities. Access is granted when the
   current user has at least one capability in the array.

Example:

    ```
    add_filter( 'pwps_manage_caps', function( $caps ) {
      $caps[] = 'manage_publication_schedule';
      return array_unique( $caps );
    } );
    ```

## Screenshots

[⌊Plugin settings screen.⌉⌊Plugin settings screen.⌉[

Plugin settings screen.

[⌊Schedule notices on block editor screen.⌉⌊Schedule notices on block editor screen
.⌉[

Schedule notices on block editor screen.

[⌊Manual override on classic editor screen.⌉⌊Manual override on classic editor screen
.⌉[

Manual override on classic editor screen.

[⌊Publish Now action in post listing.⌉⌊Publish Now action in post listing.⌉[

Publish Now action in post listing.

## Installation

Install via the WordPress plugin installer, or manually upload the plugin directory
to `wp-content/plugins/`.

**Configuration**

 1. Activate the plugin.
 2. Navigate to _Settings_ -> _Publication Schedule_.
 3. Choose the post types to schedule.
 4. Configure the active days and times for publication. Times use the site’s timezone,
    set in _Settings_ -> _General_.

## FAQ

### Why do I need to schedule my posts?

You may want to avoid having new content publish during times of low user engagement,
such as overnight or weekends. The plugin will ensure your editorial calendar is
consistent and predictable.

### How are publish dates and times determined?

When someone publishes a post in wp-admin, the plugin checks all previously scheduled
posts against the publication schedule and sets the post’s publish date to the next
available time slot. Posts that are already published, private posts, and posts 
created by imports or other plugins are not changed.

Each post type has its own slots, so a post and a page can both be scheduled for
the same time.

### What happens when every slot is taken, or no times are enabled?

The post is published immediately rather than held back (or, if the save already
gave it a future date, keeps that date), and the person who saved it sees a notice
explaining what happened.

### Can I set a specific publish date and time?

Yes. Admins and Editors can use “Publish now” to publish a post immediately, or 
choose their own date: in the block editor by changing the publish date, and in 
the classic editor and Quick Edit with the “Override Publication Schedule” checkbox.
When Authors publish, the post always takes the next open slot, even if they picked
a date.

Who counts as an Editor here can be changed with the `pwps_manage_caps` filter.

### What happens to a time slot if I manually publish (or override) a scheduled post?

The time slot that the post was originally scheduled for is freed and becomes available
for the next new post. Posts already scheduled will not be modified.

### Why did a scheduled post miss its time?

WordPress publishes scheduled posts with WP-Cron, which only runs when someone visits
the site and the server can reach itself. With _Missed Schedules_ on (the default),
the plugin checks for overdue posts as people visit the site, at most every five
minutes, and publishes up to ten posts that are more than a minute late each time.
For exact timing on quiet sites, set up a server cron job for `wp-cron.php`.

The _Debug_ tab under _Settings -> Publication Schedule_ shows whether WP-Cron is
running, scheduled posts that are overdue, the next scheduled post and whether WordPress
has queued it, and the site timezone. It also lists the next open and taken times
for each post type, and has the private debug log.

### Does the plugin change anything when it’s deleted?

Scheduled posts keep their dates. Settings and the per-post schedule records are
removed only when _Remove Data_ is on; notices, locks, and debug logs are always
removed.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Presswell Publication Schedule” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Presswell ](https://profiles.wordpress.org/presswell/)
 *   [ benplum ](https://profiles.wordpress.org/benplum/)

[Translate “Presswell Publication Schedule” into your language.](https://translate.wordpress.org/projects/wp-plugins/presswell-publication-schedule)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/presswell-publication-schedule/),
check out the [SVN repository](https://plugins.svn.wordpress.org/presswell-publication-schedule/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/presswell-publication-schedule/)
by [RSS](https://plugins.trac.wordpress.org/log/presswell-publication-schedule/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.1

 * Now requires PHP 8.2 and WordPress 6.9.
 * Added public functions and developer hooks.
 * Fixed issue with available date slots.

#### 1.2.0

 * Fixed various performance and security issues.
 * Added debug functionality and improved logging.

#### 1.1.0

 * Refactored with block editor support.

#### 1.0.2

 * Admin settings link and style tweaks.

#### 1.0.1

 * UI bug fixes.

#### 1.0.0

 * First public release.

## Meta

 *  Version **1.2.1**
 *  Last updated **2 days ago**
 *  Active installations **10+**
 *  WordPress Version ** 6.9 or higher **
 *  Tested up to **7.1.4**
 *  PHP Version ** 8.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/presswell-publication-schedule/)
 * Tags
 * [auto-schedule](https://en-au.wordpress.org/plugins/tags/auto-schedule/)[Future](https://en-au.wordpress.org/plugins/tags/future/)
   [posts](https://en-au.wordpress.org/plugins/tags/posts/)[publish](https://en-au.wordpress.org/plugins/tags/publish/)
   [schedule](https://en-au.wordpress.org/plugins/tags/schedule/)
 *  [Advanced View](https://en-au.wordpress.org/plugins/presswell-publication-schedule/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/presswell-publication-schedule/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/presswell-publication-schedule/reviews/)

## Contributors

 *   [ Presswell ](https://profiles.wordpress.org/presswell/)
 *   [ benplum ](https://profiles.wordpress.org/benplum/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/presswell-publication-schedule/)