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.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录