Title: Default Expiration time
Last modified: August 21, 2016

---

# Default Expiration time

 *  [trex005](https://wordpress.org/support/users/trex005/)
 * (@trex005)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/default-expiration-time/)
 * Okay, I can’t believe this is not here, but since I can’t find it, I’m asking.
 * Where do we set the default expiration time? For example, if I want a post type
   to expire by default 10 days after it is posted, where do I set “10 days”?
 * My users will be adding posts directly and they will not be able or likely even
   willing to set the expiration time, so I must have it as a default.
 * [http://wordpress.org/plugins/post-expirator/](http://wordpress.org/plugins/post-expirator/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [trex005](https://wordpress.org/support/users/trex005/)
 * (@trex005)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/default-expiration-time/#post-4198281)
 * Doing a little more digging, it seems this does not actually hook into the create
   post functions, instead it only works with the form submit. So if posts are created
   in any automated form (for example by another plugin) it will not use the default
   schedule at all. Is there any way around this?
 * Could this be of any help? :
    [http://adambrown.info/p/wp_hooks/hook/save_post](http://adambrown.info/p/wp_hooks/hook/save_post)
 *  [arnaud.ledun@gmail.com](https://wordpress.org/support/users/arnaudledungmailcom/)
 * (@arnaudledungmailcom)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/default-expiration-time/#post-4198558)
 * You have to use the custom field and set up with on of these expression :
 * +1 day
    +1 week +2 weeks 10 September 2000 +1 week 2 days 4 hours 2 seconds next
   Thursday
 *  [arnaud.ledun@gmail.com](https://wordpress.org/support/users/arnaudledungmailcom/)
 * (@arnaudledungmailcom)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/default-expiration-time/#post-4198559)
 * You have to use the custom field and set up with on of these expression :
 * **+1 day
    +1 week +2 weeks 10 September 2000 +1 week 2 days 4 hours 2 seconds
   next Thursday

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Default Expiration time’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [arnaud.ledun@gmail.com](https://wordpress.org/support/users/arnaudledungmailcom/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/default-expiration-time/#post-4198559)
 * Status: not resolved