Skip to content

alansmodic/rewrites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rewrites

A WordPress plugin that lets you save changes to published posts without immediately publishing them. Includes editorial review workflow and scheduled publishing.

Try it on WordPress Playground

Features

  • Staged Revisions: Save changes to published posts as drafts for review before going live
  • Publication Checklist: Configurable checklist that authors must complete before publishing
  • Scheduled Publishing: Schedule staged revisions to go live at a specific date and time
  • Editorial Notes: Add notes to staged revisions for reviewer context
  • REST API: Full REST API support for headless workflows
  • Block Editor Integration: Seamless integration with the WordPress block editor

Requirements

  • WordPress 6.4 or higher
  • PHP 7.4 or higher

Installation

  1. Download the plugin zip file or clone this repository
  2. Upload to your /wp-content/plugins/ directory
  3. Activate the plugin through the WordPress admin

Usage

Saving a Rewrite

  1. Edit any published post
  2. Make your changes
  3. Click "Save as Rewrite" instead of "Update"
  4. Your changes are saved as a staged revision for review

Publishing a Rewrite

  1. Go to the Rewrites admin page
  2. Review the staged revision
  3. Click "Publish" to apply changes to the live post

Publication Checklist

  1. Go to Rewrites > Settings
  2. Enable the checklist feature
  3. Add custom checklist items (mark items as required or optional)
  4. Authors will see the checklist when updating published posts

Hooks

Actions

  • rewrites_before_publish - Fires before a staged revision is published
  • rewrites_after_publish - Fires after a staged revision is published

Filters

  • rewrites_supported_post_types - Filter which post types support rewrites

License

GPL-2.0-or-later

About

A WordPress plugin that lets you stage, review, and schedule updates to already‑published posts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors