Title: PPP Extension
Author: Louie Sonugan
Published: <strong>2025 年 4 月 10 日</strong>
Last modified: 2026 年 1 月 8 日

---

搜索插件

![](https://ps.w.org/ppp-extension/assets/banner-772x250.png?rev=3270567)

![](https://ps.w.org/ppp-extension/assets/icon-256x256.png?rev=3270567)

# PPP Extension

 作者：[Louie Sonugan](https://profiles.wordpress.org/winglouie/)

[下载](https://downloads.wordpress.org/plugin/ppp-extension.1.0.4.zip)

 * [详情](https://cn.wordpress.org/plugins/ppp-extension/#description)
 * [评价](https://cn.wordpress.org/plugins/ppp-extension/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ppp-extension/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ppp-extension/#developers)

 [支持](https://wordpress.org/support/plugin/ppp-extension/)

## 描述

Extends the Public Post Preview plugin by allowing users to customize the expiration
time dynamically through the WordPress admin panel.

### Features

 * Set the expiration time for Public Post Preview links.
 * Customize the expiration time in **minutes** (from 1 minute to 30 days).
 * Secure input validation to prevent invalid values.
 * Fully integrated into the **WordPress Settings panel**.
 * Safe and lightweight implementation.

### How to Use

 1. Navigate to **Settings > PPP Extension** in your WordPress admin panel.
 2. Enter the expiration time in **minutes** (minimum: 1, maximum: 43200 minutes / 
    30 days).
 3. Click Save Changes.
 4. Public Post Preview links will now expire based on your selected time.

### Security

– User input is **sanitized** and validated to prevent unauthorized values.
 – The
input is limited between **1 minute and 30 days** to avoid extreme values. – Escaped
output prevents XSS attacks.

### License

This plugin is released under the GPLv2 or later license.

## 屏幕截图

[⌊Admin settings page for setting expiration time in minutes.⌉⌊Admin settings page
for setting expiration time in minutes.⌉[

Admin settings page for setting expiration time in minutes.

## 安装

 1. Download the plugin.
 2. Upload the extracted `ppp-extension` folder to `/wp-content/plugins/`.
 3. Activate the plugin in WordPress Admin > Plugins.

## 常见问题

### What is the allowed expiration time range?

You can set the expiration time between **1 minute (minimum) and 43200 minutes (
30 days maximum)**.

### Does this work without Public Post Preview installed?

No, this plugin extends the [Public Post Preview](https://wordpress.org/plugins/public-post-preview/)
plugin, so it must be installed and activated first.

## 评价

![](https://secure.gravatar.com/avatar/21c4633a1b5f26390694670f585132d1b28a02c68c7577ed45cf0f853b0d92ae?
s=60&d=retro&r=g)

### 󠀁[Working](https://wordpress.org/support/topic/working-232/)󠁿

 [Garth Aemillus Ramirez](https://profiles.wordpress.org/garthramirez/) 2025 年 
4 月 21 日

Working – totally safe to use.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/ppp-extension/reviews/)

## 贡献者及开发者

「PPP Extension」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Louie Sonugan ](https://profiles.wordpress.org/winglouie/)

[帮助将「PPP Extension」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ppp-extension)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ppp-extension/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/ppp-extension/)，或通过[RSS](https://plugins.trac.wordpress.org/log/ppp-extension/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ppp-extension/)。

## 更新日志

#### 1.0.4

 * Tested with WordPress 6.9.
 * Enhanced code structure and improved escaping for better security.
 * Added proper internationalization support throughout the plugin.
 * Added capability checks for enhanced security.
 * Improved function documentation and code organization.

#### 1.0.3

 * Tested with WordPress 6.8.
 * Added a Settings link next to Deactivate on the Plugins page.

#### 1.0.2

 * Security enhancements for user input.
 * Set expiration time in minutes instead of seconds.
 * Capped expiration limit to **30 days (43200 minutes)**.

#### 1.0.1

 * Security enhancements for user input.
 * Set expiration time in minutes instead of seconds.
 * Capped expiration limit to **3 days (4320 minutes)**.

#### 1.0.0

 * Initial implementation of dynamic expiration settings.

## 额外信息

 *  版本 **1.0.4**
 *  最后更新：**5 月前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/ppp-extension/)
 * 标签
 * [expiration](https://cn.wordpress.org/plugins/tags/expiration/)
 *  [高级视图](https://cn.wordpress.org/plugins/ppp-extension/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/ppp-extension/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/ppp-extension/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ppp-extension/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ppp-extension/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/ppp-extension/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ppp-extension/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ppp-extension/reviews/)

## 贡献者

 *   [ Louie Sonugan ](https://profiles.wordpress.org/winglouie/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ppp-extension/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://louiesonugan.com/donate/)