| 开发者 | smilingsyntax |
|---|---|
| 更新时间 | 2026年1月29日 19:47 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
meta-ledger folder to /wp-content/plugins/By default, Meta Ledger tracks posts, pages, and WooCommerce products. You can add more post types in Settings → Meta Ledger or using the meta_ledger_tracked_post_types filter.
Navigate to Settings → Meta Ledger and add meta keys to ignore (one per line). Supports wildcards (e.g., _edit_*). You can also use the meta_ledger_ignored_meta_keys filter.
Meta Ledger is designed for performance. It uses indexed database queries, batches changes at shutdown, and skips high-frequency meta keys like _edit_lock by default. The performance impact is minimal.
Click on the "History" tab in the Meta Ledger meta box on any post, then click the restore button next to any version. The restore action is also tracked in history.
Yes! Meta Ledger tracks all changes made through WordPress meta functions (update_post_meta, add_post_meta, delete_post_meta), regardless of whether they come from code, plugins, themes, or the Meta Ledger UI.
Each history entry includes a source button. Click it to see the file path, line number, function name, and full stack trace for code changes. Changes made from Meta Ledger UI are marked as "Meta Ledger UI".
Yes! Meta Ledger works seamlessly with WooCommerce products and tracks all product meta changes, including prices, stock, and custom fields.
By default, 50 versions per meta key are kept. You can adjust this in Settings → Meta Ledger under "History Entries per Meta Key".
Yes! The plugin provides REST API endpoints at /wp-json/meta-ledger/v1/ for accessing history and restoring versions programmatically.
Yes! Use wp meta-ledger show, wp meta-ledger restore, and wp meta-ledger cleanup commands for command-line operations.
meta_ledger_restore_failed)/wp-json/meta-ledger/v1/)show, restore, cleanup