Custom Field Auditor
Custom Field Auditor brings native-like revision tracking to your WordPress custom fields (post meta). Tired of losing data when updating custom fields? This plugin allows you to audit every change made to specific meta keys, view comprehensive diffs in the standard WordPress Revisions screen, and manage your audit trails.
by Manoj Mohan · github.com/manojmohangit/custom-field-auditor
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/manojmohangit/custom-field-auditor/archive/refs/heads/main.zipAdvanced tracking and versioning for custom post meta fields with a modern modular UI. Have you ever wondered how can I add history for the custom fields? How can I revert back to a previous value of a meta key? Custom Field Auditor is the answer.
Description
Custom Field Auditor brings native-like revision tracking to your WordPress custom fields (post meta). Tired of losing data when updating custom fields? This plugin allows you to audit every change made to specific meta keys, view comprehensive diffs in the standard WordPress Revisions screen, and manage your audit trails from a premium dashboard. It even suggests recently used meta keys from your database to help you discover what fields to track next.
Key features include:
- Version Tracking: Capture changes to custom fields even when updated via AJAX or REST API.
- Intuitive Diff UI: View what changed, when, and by whom using the native WordPress revisions interface.
- Meta Management: A modern dashboard to create, track, and manage custom fields.
- Safety Checks: Prevent deletion of fields that are currently in use by your content.
- Real-time sync: Revisions list updates instantly in both Block (Gutenberg) and Classic Editors.
Installation
- Upload the
custom-field-auditorfolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Navigate to Settings > Field Auditor to start managing your custom fields.
Frequently Asked Questions
Does it work with Gutenberg?
Yes, Custom Field Auditor fully supports the Block Editor and refreshes the revisions list in real-time.
Can I track dynamic meta keys?
Currently, you can manage specific meta keys. Dynamic pattern matching is planned for a future update.
Changelog
1.0.1
- Added Edit and Delete options for custom fields in the admin section.
- Added "Suggested Keys" discovery helper for easy meta tracking.
- Improved Admin UI.
- Fixed double revision creation issue during post save.
1.0.0
- Initial release.
- Added support for Block and Classic editors.
- Implemented modern admin UI with modal creation.
- Added deletion safety checks.