plugin-icon

WP Post Expires

Door X-NicON·
Plugin adds post expires time after which will be performed actions: add prefix to title, move to drafts or trash.
Waardering
3.3/5
Versie
1.2.5
Actieve installaties
2K
Laatst bijgewerkt
Nov 2, 2020
WP Post Expires

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)
Gratisop Business abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 5.5.17
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.