Title: Meta Ledger &#8211; Track, compare, and restore post meta Changes
Author: SmilingSyntax
Published: <strong>29. 1. 2026</strong>
Last modified: 29. 1. 2026

---

Prohledat pluginy

![](https://ps.w.org/meta-ledger/assets/banner-772x250.png?rev=3449467)

![](https://ps.w.org/meta-ledger/assets/icon-256x256.png?rev=3449467)

# Meta Ledger – Track, compare, and restore post meta Changes

 Autor: [SmilingSyntax](https://profiles.wordpress.org/smilingsyntax/)

[Stáhnout](https://downloads.wordpress.org/plugin/meta-ledger.1.0.1.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/meta-ledger/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/meta-ledger/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/meta-ledger/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/meta-ledger/#developers)

 [Podpora](https://wordpress.org/support/plugin/meta-ledger/)

## Popis

Meta Ledger automatically tracks all post meta changes for posts, custom post types,
and WooCommerce products. It stores a versioned history, allows field-level diffs,
and provides a restore option. Designed for developers, high-performance, and WordPress
standards.

Perfect for tracking product prices, custom fields, metadata changes, and any post
meta modifications with complete audit trails.

#### Key Features

 * **Automatic Tracking**: Hooks into WordPress meta functions to automatically 
   track all meta changes
 * **Version History**: Complete history of all meta changes with timestamps, user
   information, and action types
 * **Field-Level Diffs**: View side-by-side comparisons of old and new values
 * **Restore Functionality**: Restore any meta field to a previous version with 
   one click
 * **Source Tracking**: See which file and line triggered each meta change, including
   changes from Meta Ledger UI
 * **Inline Editing**: Edit meta values directly from the admin interface
 * **REST API**: Developer-friendly REST API endpoints for programmatic access
 * **WP-CLI Support**: Command-line tools for viewing and restoring meta versions
 * **Performance Optimized**: Configurable retention policies, batching, and efficient
   database storage
 * **WooCommerce Compatible**: Works seamlessly with WooCommerce products

## Snímky obrazovky

 * [[
 * History tab displaying complete version history with source tracking
 * [[
 * Source popover showing file location, line number, and stack trace
 * [[
 * Restore confirmation dialog
 * [[
 * Settings page for configuring post types, retention, and ignored keys

## Instalace

 1. Upload the `meta-ledger` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. The database table will be created automatically on activation
 4. Navigate to any post, page, or product to see the Meta Ledger meta box

## Nejčastější dotazy

### Which post types are tracked?

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.

### How do I ignore certain meta keys?

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.

### Will this slow down my site?

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.

### How do I restore a previous value?

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.

### Can I track changes made from code?

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.

### How do I see where a change came from?

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“.

### Can I use this with WooCommerce?

Yes! Meta Ledger works seamlessly with WooCommerce products and tracks all product
meta changes, including prices, stock, and custom fields.

### How many versions are kept?

By default, 50 versions per meta key are kept. You can adjust this in Settings  
Meta Ledger under „History Entries per Meta Key“.

### Is there a REST API?

Yes! The plugin provides REST API endpoints at `/wp-json/meta-ledger/v1/` for accessing
history and restoring versions programmatically.

### Are there WP-CLI commands?

Yes! Use `wp meta-ledger show`, `wp meta-ledger restore`, and `wp meta-ledger cleanup`
commands for command-line operations.

## Recenze

![](https://secure.gravatar.com/avatar/3ce630a3b0bc12bcf9324f89cfe1b8caac80e19390e50fe2a5f8df14beafb1b3?
s=60&d=retro&r=g)

### 󠀁[Finally a proper way to debug meta field issues.](https://wordpress.org/support/topic/finally-a-proper-way-to-debug-meta-field-issues/)󠁿

 [queryra](https://profiles.wordpress.org/queryra/) 3. 2. 2026 1 odpověď

I’ve been developing WooCommerce sites for years and debugging meta field problems
was always painful – either var_dump everywhere or digging through the database 
manually. What I really like: Source tracking shows exactly which file/line changed
the meta (huge for finding rogue plugins) Side-by-side diff view makes it easy to
spot what changed One-click restore saved me twice already when a bulk edit went
wrong WP-CLI support is a nice touch for staging/production workflows Clean code,
follows WP standards, lightweight. This should be in every developer’s toolkit.

 [ Přečtěte si 1 recenzi ](https://wordpress.org/support/plugin/meta-ledger/reviews/)

## Autoři

Meta Ledger – Track, compare, and restore post meta Changes je otevřený software.
Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

 *   [ SmilingSyntax ](https://profiles.wordpress.org/smilingsyntax/)

[Přeložte “Meta Ledger – Track, compare, and restore post meta Changes” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/meta-ledger)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/meta-ledger/), podívejte
se do [SVN repozitáře](https://plugins.svn.wordpress.org/meta-ledger/), nebo se 
přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/meta-ledger/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/meta-ledger/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 1.0.1

 * Settings link on plugins page (links to Meta Ledger settings)
 * Fix restore failing when value unchanged or already deleted (`meta_ledger_restore_failed`)
 * View full value: click long old/new values in history to open a popover
 * Side-by-side diff view: old vs new values in a diff-checker style popover
 * Improved value popover with colored columns (old = red tint, new = green tint)

#### 1.0.0

 * Initial release
 * Automatic meta tracking for posts, pages, and custom post types
 * Version history UI with tabbed interface (Meta Values & History tabs)
 * Inline meta editing with add, edit, and delete functionality
 * Restore functionality with one-click restore to any previous version
 * Source file and line tracking with detailed popover view
 * Source tracking for changes made from Meta Ledger UI
 * Refresh button on History tab to reload latest changes
 * Search and filter functionality for meta keys
 * Collapsible history groups organized by meta key
 * REST API endpoints for programmatic access (`/wp-json/meta-ledger/v1/`)
 * WP-CLI commands: `show`, `restore`, `cleanup`
 * Settings page with post type selection, retention count, and ignored keys
 * Performance optimizations with batching and efficient JSON storage
 * WooCommerce product support
 * Responsive design for all screen sizes
 * WordPress coding standards compliance

## Meta

 *  Verze **1.0.1**
 *  Poslední aktualizace **před 2 měsíce**
 *  Aktivních instalací **Méně než 10**
 *  Verze WordPressu ** 6.0 nebo novější **
 *  Testováno až do WordPressu **6.9.4**
 *  Verze PHP ** 8.0 nebo novější **
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/meta-ledger/)
 * Štítků
 * [history](https://cs.wordpress.org/plugins/tags/history/)[post meta](https://cs.wordpress.org/plugins/tags/post-meta/)
   [postmeta](https://cs.wordpress.org/plugins/tags/postmeta/)[restore](https://cs.wordpress.org/plugins/tags/restore/)
   [woocommerce](https://cs.wordpress.org/plugins/tags/woocommerce/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/meta-ledger/advanced/)

## Hodnocení

 5 z 5 hvězdiček.

 *  [  1 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/meta-ledger/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/meta-ledger/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/meta-ledger/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/meta-ledger/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/meta-ledger/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/meta-ledger/reviews/#new-post)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/meta-ledger/reviews/)

## Spolupracovníci

 *   [ SmilingSyntax ](https://profiles.wordpress.org/smilingsyntax/)

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/meta-ledger/)