WP Post Expires

plugin banner

Plugin adds post expires time after which will be performed actions: add prefix to title, move to drafts or trash.

Author:XNicON (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:5.5.5
Plugin version:1.2.5
Added to WordPress repository:16-08-2016
Last updated:02-11-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:66
Rated by:14
Plugin URI:
Total downloads:33 998
Active installs:2 000+
plugin download
Click to start download

A simple plugin that allows to set the date for the posts, after which will be performed one of 3 actions: “Add prefix to title”, “Move to drafts”, “Move to trash”.

Features:

  • Set post expire date and time
  • Support custom post type (post and pages by default)
  • Action for expired posts: move to drafts, move to trash or add custom prefix for title
  • Adds class “post-expired” to post that expired on the site and in admin interface (for custom styles in theme)

Use in theme:

XNPostExpires::isExpired($post_id)

XNPostExpires::dateExpiration($post_id, $date_format)

Screenshots
ChangeLog