WordPress plugin intelligence profile

Secure Draft Preview Links

Share draft posts with anyone via a secure, time-limited preview link — no login required.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.0.1
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 6.5 · PHP 8.0
Directory statusactive
Last directory update17 Jul 20263mo ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Secure Draft Preview Links version 1.0.1 as active, updated 3mo ago and tested up to WordPress 7.0.

Overview

About this plugin

Secure Draft Preview Links lets you generate a cryptographically secure, unguessable link for any draft post so that people without a WordPress account can read it before it goes live.

How it works

  • Open any draft post or page in the editor.
  • Check Enable public preview in the Publish panel (Classic Editor) or Status & Visibility panel (Block Editor).
  • Copy the generated link and share it with anyone.
  • The recipient can view the draft without logging in.
  • Uncheck the box or set the expiry to Expired to revoke access immediately.

Editor features

  • Works with both the Classic Editor and the Block Editor (Gutenberg).
  • Checkbox to enable / disable preview — shown even on auto-draft posts (disabled with a “save first” hint).
  • When a post is published the checkbox automatically disables and shows “Not available for published posts”.
  • Preview URL displayed in a monospace code box — horizontally scrollable, click to select all.
  • Copy button and Open preview button inline with the URL box.
  • Generate new link button — invalidates the old link immediately, with a confirmation step before firing.
  • Stop sharing confirmation bar — shown when unchecking the checkbox, requires explicit confirmation before removing the link.
  • Expiry selector with four options:
  • 48 hours — default, shows exact time remaining (e.g. “Expires on: Apr 29 · 14:32 (4h 12m remaining)”).
  • Always available — link never expires.
  • Custom time — set Days, Hours, and Minutes; live “Expires on:” display updates as you type; shows error if all fields are cleared without saving.
  • Expired (disable now) — immediately invalidates the link without deleting the token.
  • Expiry settings auto-save on change with a “Expiry setting saved.” confirmation message.
  • Block Editor: snackbar notices for every action (enable, disable, copy, generate new link).
  • Block Editor: Open public preview item added to the Preview dropdown (WordPress 6.7+).

Preview Links admin page

  • Dedicated Preview Links menu item in the WordPress admin sidebar.
  • Two tabs: Active and Expired, each showing a count badge.
  • Paginated table — 20 items per page, with top and bottom pagination controls.
  • Per-row columns: Post title, Post type, Exact expiry time, Preview URL, Share buttons, Actions.
  • Copy URL and Open preview icon buttons inline with the URL.
  • Share buttons: Facebook, X (Twitter), LinkedIn, Email — captions include the post title and expiry time (omitted for never-expires links).
  • Regenerate button — generates a new token with a confirmation dialog; old link stops working immediately.
  • Stop Sharing button — removes the token with a confirmation dialog.
  • Edit Post link opens in a new tab.
  • Confirmation dialogs use an inline modal (no browser confirm() ) with clear messaging about consequences.
  • Toast notifications slide up from the bottom-right on every action.

Security

  • Tokens are 64-character cryptographically random hex strings generated with random_bytes().
  • Token validation uses hash_equals() to prevent timing attacks.
  • Expired links return a 410 Gone HTTP response.
  • Invalid tokens return a 403 Forbidden HTTP response.
  • Preview link is automatically removed when a post is published, made private, or trashed.
  • All AJAX endpoints are protected with nonces and capability checks.
  • No data is exposed to unauthenticated users beyond the post content itself.

Post list table

  • Public Preview badge shown next to post titles that have an active preview link.
  • Public Preview filter view in the post list table to quickly find all posts with active links.

Technical

  • Works with all viewable public post types (posts, pages, and custom post types).
  • Pagination links on multi-page posts are rewritten to include the preview token.
  • Token meta is registered with the REST API for block editor compatibility.
  • No external dependencies — pure PHP, jQuery (Classic Editor), and WordPress’s own React/wp-components (Block Editor).
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • preview link
  • draft
  • public
  • share
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.5 · PHP 8.0
Update activity17 Jul 20263mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.