YUI Preview Token WordPress Plugin | Codefreex Skip to content
YUI Preview Token icon

WordPress plugin

YUI Preview Token

Issue time-limited preview tokens for headless WordPress setups. Open drafts directly in your frontend URL without long-lived credentials.

By uukidev
Version
1.1.2
Last updated
Jun 15, 2026
Tested up to
WordPress 7.0.9
Requires
WP 5.9 · PHP 7.4

Health check

Is YUI Preview Token safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on June 15, 2026. Regular updates usually mean bugs and security reports get fixed.

Not yet tested with the latest WordPress

Tested up to WordPress 7.0.9. It often still works, but check on staging first.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where YUI Preview Token ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for YUI Preview Token
KeywordPositionChangeTrendCurrent #1
draft
headless
preview
rest-api
token
yui preview token

Checked against the top 100 WordPress.org search results.

Overview

What YUI Preview Token does

YUI Preview Token solves the authentication problem in decoupled (headless) WordPress architectures. Application Passwords are a great built-in WordPress feature for this purpose, but they require managing long-lived secrets on the frontend side. This plugin instead issues per-post tokens that grant read access for a configurable period — no persistent secrets required.

The frontend (Astro, Next.js, Nuxt, etc.) receives a preview URL and can fetch the draft content directly via the REST API.

An authorized WordPress user generates a token from the Gutenberg sidebar, Quick Edit panel, or Classic Editor meta box.

The token is embedded in a preview URL pointing to your external frontend.

The frontend calls /wp-json/yui-preview-token/v1/preview?token=… to retrieve the draft content.

The token expires automatically; no manual cleanup needed.

Generate tokens with expiry presets: 1 hour, 24 hours, 30 days, custom date/time, or no expiry.

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

YUI Preview Token in action

Gutenberg sidebar — Token generation panel before a token is issued. Select an expiry and click "Generate token".
Gutenberg sidebar — Token generation panel before a token is issued. Select an expiry…
Gutenberg sidebar — Active token: expiry info, open preview in the designated frontend URL, and copy-to-clipboard.
Gutenberg sidebar — Active token: expiry info, open preview in the designated frontend URL,…
Classic Editor — Token panel in the meta box sidebar, before a token is issued.
Classic Editor — Token panel in the meta box sidebar, before a token is…

FAQ

YUI Preview Token: questions and answers

What is YUI Preview Token?

YUI Preview Token is a WordPress plugin by uukidev. Issue time-limited preview tokens for headless WordPress setups. Open drafts directly in your frontend URL without long-lived credentials.

Is YUI Preview Token free?

YUI Preview Token is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

Is YUI Preview Token still maintained?

YUI Preview Token was last updated on June 15, 2026. The current version is 1.1.2. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does YUI Preview Token require?

YUI Preview Token requires WordPress 5.9 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.0.9.

Can Codefreex set up or customize YUI Preview Token?

Yes. Codefreex installs, configures and customizes WordPress plugins including YUI Preview Token, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need YUI Preview Token set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us