Title: max duration
Last modified: May 14, 2018

---

# max duration

 *  [stilfx](https://wordpress.org/support/users/stilfx/)
 * (@stilfx)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/max-duration/)
 * Is there a hook where I can set a max duration?
 * Meaning, I can set a default of 120 days but I also want to limit that to 120
   days as the max a user could set for the expiration.
 * ie. to avoid outdated content, etc

The topic ‘max duration’ is closed to new replies.

 * ![](https://ps.w.org/post-expirator/assets/icon-256x256.png?rev=3118683)
 * [Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories](https://wordpress.org/plugins/post-expirator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-expirator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-expirator/)
 * [Active Topics](https://wordpress.org/support/plugin/post-expirator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-expirator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-expirator/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [stilfx](https://wordpress.org/support/users/stilfx/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/max-duration/)
 * Status: not resolved