Plugin adds post expires time after which will be performed actions: add prefix to title, move to drafts or trash.
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”.
XNPostExpires::isExpired($post_id) XNPostExpires::dateExpiration($post_id, $date_format)
Copy to plugins folder (/wp-content/plugins)
Activate plugin from plugins page in admin interface
Use the Settings->Reading Name screen to configure the plugin
fix bug loop expire. Tnx @d79 (https://github.com/d79)
versiob wp 5.5.3
fix bugs classic editor/gutenberg js, tnx @micahjsharp
add status in post state
change logic for draft and trash, tnx @micahjsharp
use local wp timezone
support classic editor on wp 5.0+
Small fixes:
https://wordpress.org/support/topic/fatal-error-3074/ ( tnx @marknopfler )
https://wordpress.org/support/topic/fix-js-and-php-error/ ( tnx @lastant )
use DateTime Picker jQuery-ui
refactoring
conflicts resolved
fix datetime picker
update datetime picker
small fixes
add Italian translation (tnx, Paolo Centomani)
fix notice and accessing static property
fixed translation
init1 – Mr. Robot