內容簡介
該外掛可在指定日期後設置文章過期並失效。
該外掛目前僅適用於傳統編輯器。
它通過在發布方塊中添加一個新的“失效日期”字段來實現此功能。
默認情況下,文章不會失效,但您可以添加一個日期。
一旦到達該日期,該文章將被標記為失效,並且對最終用戶不再可見。
開發者注意事項
開發過程發生在 https://github.com/ivankruchkoff/wp-expiring-posts 上
新的文章狀態為expired
存在一個稱為exp_disable_expiration_for_this_post的過濾器,可在每篇文章中禁用此功能。
外掛標籤
開發者團隊
原文外掛簡介
This plugin adds functionality to expire a post on a given date.
This plugin currently only works with the classical editor.
It does this by adding a new “Expires” date field in the Publish box.
By default posts don’t expire, but you can add a date instead.
Once that date is reached, the post is marked as expired and is no longer visible to the end user.
Dev Notes
Dev occurs via https://github.com/ivankruchkoff/wp-expiring-posts
the new post status is expired
a filter called exp_disable_expiration_for_this_post exists to disable this feature on a per-post basis.
