interactive-one/expiring-posts
Composer 安装命令:
composer require interactive-one/expiring-posts
包简介
README 文档
README
This plugin adds functionality to expire a post on a given date.
It does this by adding a new "Expires" date field in the Publish box.
By default a post never expires:
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
- the new post status is
expired - a filter called
exp_disable_expiration_for_this_postexists to disable this feature on a per-post basis.
FAQ
If I enable this plugin, what will happen to my existing posts?
Nothing, the posts current post state will remain unchanged.
Will I be able to see expired posts?
Yes, they will be visible in the expired view within the post entry list for your post type.
Will this plugin work with custom post types too?
Yes.
If I have a post set to expire and I use the filter to disable expiry for a speicific post, what happens?
When the exp_disable_expiration_for_this_post filter is used, the UI for control post expiry will not be shown, and the post will not expire. In other words, the filter overrides post expiration.
interactive-one/expiring-posts 适用场景与选型建议
interactive-one/expiring-posts 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.14k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 03 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 interactive-one/expiring-posts 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 interactive-one/expiring-posts 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2020-03-24

