| 开发者 | muhammadsiddiqui |
|---|---|
| 更新时间 | 2026年10月10日 12:34 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/shop//shop/ with a 301 and writes a log entry recording the result. Nothing else in your site changes.
Expiry actions included
contenttimer folder to /wp-content/plugins/, or install through Plugins → Add NewNo. The Move to Trash action uses the normal WordPress trash, from which content can be restored. Nothing is ever deleted permanently, and uninstalling the plugin never touches your posts or pages.
Expiry runs on the next request that triggers WordPress cron. If DISABLE_WP_CRON is set on your site, ContentTimer says so on its dashboard, and you can either point a real server cron at wp-cron.php or use the Run Expiry Check button.
No. Each run takes a lock, each item's state is re-read immediately before the action runs, and every action checks whether the change is already in place. A repeated run records a "skipped" log entry instead of acting again.
Add the relevant constants to wp-config.php. None are required for the free plugin to work:
define( 'CONTENTTIMER_LS_STORE', 'yourstore' ); // yourstore.lemonsqueezy.com
define( 'CONTENTTIMER_LS_VARIANT_MONTHLY', '123456' );
define( 'CONTENTTIMER_LS_VARIANT_YEARLY', '123457' );
define( 'CONTENTTIMER_LS_WEBHOOK_SECRET', 'your-signing-secret' );
define( 'CONTENTTIMER_LS_ENVIRONMENT', 'test' ); // omit for live
The webhook URL is shown on the License tab once a signing secret is present.
The timezone configured in Settings → General. Dates are stored in UTC internally and converted for display, so daylight saving changes do not shift your schedules.
Anywhere you like: a path on your own site such as /shop/, or a full https:// address. Destinations using any other scheme are rejected, and a destination that points back at the same content is refused so no redirect loop can be created.
Yes. Every public custom post type registered by your theme or another plugin can be enabled from ContentTimer → Settings.
No. ContentTimer does no work on normal front-end requests. The only front-end code is the redirect check, which reads post meta WordPress has already loaded and adds no database query.