WP Manifestindependent plugin directory
manifest / content / propose-draft-date

Propose Draft Date

A plugin to propose a publish date while writing posts as a contributing author.

by Human Made · github.com/humanmade/propose-draft-date

4stars
62kcomposer installs
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/humanmade/propose-draft-date/archive/refs/heads/main.zip

Also on Packagist as humanmade/propose-draft-date:

composer require humanmade/propose-draft-date

From the readme

Propose Draft Date This is a WordPress plugin that provides an interface within the block editor for contributing authors (and other roles without the ability to schedule or publish posts) to select a proposed date for the post. That proposed date will be shown in previews of the post by filtering the "floating" post date, and will take effect when the post is published. Filters The following filters are available to modify the behavior of this plugin. proposeddate.supportedposttypes (PHP filter) Server-side PHP filter to modify which post types can take a proposed date. Example: Add proposed date support for a custom post type, and remove it from core pages. proposeddate.shouldacceptproposal (PHP filter) Server-side PHP filter to determine, based on the old and new post status and the post object transitioning between those statuses, whether to check for a proposed date and apply it if found. Example: Accept proposed dates when transitioning to a custom status. Example: Always accept proposed dates when present, regardless of other circumstances. (If you do this you should also use the JS-side proposeddate.datelabel filter to ensure you show the correct date value to con

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v0.3.4Jan 6, 2023