=== Content Unpublisher ===
Contributors: skldrth
Tags: schedule, unpublish, trash, posts, pages
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight plugin to automatically unpublish or trash posts and pages at a scheduled time.

== Description ==

Content Unpublisher lets you schedule a date and time for posts or pages to automatically:
- Be moved to the Trash, or  
- Be converted back to a draft

Perfect for time-sensitive content such as promotions, events, announcements, or temporary landing pages.

**Features:**
- Set a future unpublish date and action per post/page
- Choose to trash or unpublish to draft
- Admin overview table of all scheduled actions
- AJAX-powered remove buttons (no reloads)
- Lightweight and clean – no custom database tables

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins screen in WordPress
3. Go to any post or page and set the unpublish schedule in the right sidebar

== Screenshots ==

1. Metabox to schedule unpublishing
2. Overview page showing scheduled actions

== Frequently Asked Questions ==

= Does this use WP Cron? =
Yes, it uses WordPress's built-in scheduling system to run unpublish tasks.

= Can I remove a scheduled unpublish? =
Yes, you can remove it directly from the edit screen or from the overview page via AJAX.

== Changelog ==

= 1.0 =
* Initial release
* Schedule draft or trash actions
* Admin overview
* AJAX removal support

== Upgrade Notice ==

= 1.0 =
First stable version

== License ==

This plugin is licensed under the GPLv2 or later.