=== SP Cron Viewer ===
Contributors: saurabh1810
Tags: cron, wp-cron, schedule, admin, tools
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Securely view and manage scheduled WordPress cron events from Tools -> SP Cron Viewer.

== Description ==

SP Cron Viewer provides a secure admin interface for inspecting and managing WP-Cron events.

Features:
- View all scheduled cron events in a WordPress list-table layout.
- Filter events by type:
  - All events
  - Events with no action
  - WordPress core events
  - Custom events
- Search events by hook name.
- Sort by Hook, Scheduled Time, Recurrence, and Next Scan Time.
- Display hook arguments inline with the hook name.
- Bulk delete selected non-core cron events.
- Protect WordPress core cron events from deletion.

Security highlights:
- Capability checks using `manage_options`.
- Nonce verification for form and AJAX actions.
- Sanitization and escaping for all input/output.

== Installation ==

1. Upload the `sp-cron-viewer` folder to `/wp-content/plugins/`.
2. Activate the plugin through the WordPress "Plugins" screen.
3. Go to `Tools -> SP Cron Viewer`.

== Frequently Asked Questions ==

= Does this plugin create its own background cron jobs? =

No. It manages WordPress cron events already registered on the site.

= Can I delete WordPress core cron events? =

No. Core events are protected and are not deletable from this interface.

= Why do core events show a WordPress icon instead of a checkbox? =

The icon indicates a protected core event. Only non-core events are selectable for bulk delete.

== Changelog ==

= 1.0.0 =
* Initial public release.
