WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Public Post Preview

Enables you to give a link to anonymous users for public preview of a post before it is published.

After some time the preview link returns the message "The link has been expired!". Why?

The plugin generates an URL with an expiring nonce. By default a link "lives" 48 hours. After 48 hours the link is expired and you need to copy and share a new link which is automatically generated on the same place under the editor.

48 hours are not enough to me. Can I extend the nonce time?

Yes, of course. You can use the filter ppp_nonce_life. Example for 5 days:

add_filter( 'ppp_nonce_life', 'my_nonce_life' );
function my_nonce_life() {
    return 60 * 60 * 24 * 5; // 5 days
}

Or use the Public Post Preview Configurator.

Requires: 3.5 or higher
Compatible up to: 4.0
Last Updated: 2014-8-21
Downloads: 24,487

Ratings

4 stars
4.7 out of 5 stars

Support

1 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
50,2,1
67,3,2
100,1,1
67,3,2 0,1,0
100,1,1
100,3,3
100,1,1 100,2,2 100,2,2
100,2,2 50,4,2 100,1,1
100,1,1 100,2,2 100,2,2
100,3,3 100,1,1
100,2,2 100,2,2
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1