描述
CodeFaeries Store Sentinel is a WooCommerce activity monitor that tracks critical store events and presents them in a clean, chronological feed. Know immediately when orders are trashed, deleted, or change status — and when products disappear from your catalog.
Requires WooCommerce — Store Sentinel is purpose-built for WooCommerce stores and requires WooCommerce 7.9 or later.
Key Features
- Chronological Activity Feed — All critical WooCommerce events in one timeline, sorted newest-first
- Order Tracking — Monitor order trashed, permanently deleted, and status change events
- Product Tracking — Monitor product trashed and permanently deleted events
- Severity Levels — Events classified as info, warning, or critical for quick visual scanning
- Filters — Filter by event type, severity level, and date range
- Event Details — Click any event to see full context (order totals, old/new status, product info)
- Dashboard Widget — At-a-glance today’s stats on the WordPress dashboard
- HPOS-Native — Built for WooCommerce High-Performance Order Storage from day one
- Privacy-First — Customer emails are partially masked; no full PII stored
- Automatic Cleanup — Daily cron removes events older than the retention period (configurable; 7-day default)
- Multisite Support — Works on multisite networks with per-site data isolation
- Developer Friendly — Filters and actions for every event, severity, and query
Tracked Events
- Order trashed (warning) — Order moved to trash
- Order deleted (critical) — Order permanently deleted
- Order status changed (info) — Order status transition (e.g., processing to completed)
- Product trashed (warning) — Product moved to trash
- Product deleted (critical) — Product permanently deleted
Privacy & Data
Store Sentinel records WooCommerce store events (order/product trashes,
deletions and status changes) to a custom table in your own database. Customer
emails captured in event context are partially masked, and client IP addresses —
when IP tracking is enabled — are stored only as a one-way SHA-256 hash salted
with your site’s WordPress salt. The raw IP is never written to the database.
Store Sentinel does not send any data off-site. No third-party services are
contacted. All event data stays in your own WordPress database and is removed
when the plugin is uninstalled.
安装
- Upload the
codefaeries-store-sentinelfolder to the/wp-content/plugins/directory, or install directly through the WordPress plugin screen. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Ensure WooCommerce is installed and active.
- Navigate to Store Sentinel in the admin menu to view the activity feed.
常见问题
-
Does this plugin require WooCommerce?
-
Yes. Store Sentinel is a WooCommerce-specific monitoring tool and requires WooCommerce 7.9 or later. If WooCommerce is not active, the plugin will show an admin notice and remain inactive.
-
Is it compatible with HPOS (High-Performance Order Storage)?
-
Yes. Store Sentinel is built HPOS-native from the ground up. It uses WooCommerce order objects and HPOS-compatible hooks exclusively — it never accesses the wp_posts table for order data.
-
How long are events retained?
-
Events are retained for 7 days by default; the retention period is configurable on the Settings Data & Privacy tab. A daily cron job automatically removes older events to keep the database lean.
-
What happens to my data if I deactivate the plugin?
-
Deactivation only clears the cron schedule — all event data is preserved. If you reactivate, your full history is still available. Data is only removed when you delete (uninstall) the plugin through the WordPress admin.
-
Does it work on multisite?
-
Yes. Store Sentinel supports multisite with per-site activation. Each site has its own events table and settings. Uninstall cleans up all sites in batches.
-
Can I extend it with custom events?
-
Yes. Use the
codefaeries_store_sentinel_event_datafilter to modify event data before recording, or thecodefaeries_store_sentinel_should_recordfilter to conditionally skip events. Thecodefaeries_store_sentinel_event_recordedaction fires after each event is stored.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.2 – 2026-05-18
- Improved: Store Sentinel is now a focused free plugin — extension hooks let other plugins build on top of the free core cleanly.
- Compatibility: “Tested up to” bumped to WordPress 7.0.
- Code quality: passes WordPress Plugin Check cleanly.
- New: filter to exclude specific plugin slugs from event source detection (helps when third-party plugins clutter the backtrace).
1.0.1
- Internal: release packaging refreshed and CHANGELOG.md consolidated into this changelog.
1.0.0
First public release. Store Sentinel is a WooCommerce early-warning system: a chronological feed of critical store actions.
- Live activity feed with filters (event type, severity, date range) and pagination.
- Tracks orders (trashed, deleted, status changes, meta removal) and products (trashed, deleted).
- Severity levels — info, warning, critical — with a detail modal showing full context.
- Records the source of each action (Admin, REST API, WP-CLI, Cron, AJAX) and the actor (user, role, display name).
- Settings page for event toggles, retention, privacy, and data management.
- Dashboard widget showing today’s activity.
- Daily automatic retention cleanup (7-day default, configurable).
- HPOS-native (WooCommerce 7.9+).
- Multisite-aware install and uninstall.
- Accessibility: focus-trapped modal, ARIA live regions, keyboard navigation.
- Extensible by developers via filters and actions.
