Introduction

PureDevs Any Meta Inspector makes it easy to view all metadata associated with your WordPress posts and pages. The plugin adds a convenient metabox on post and page edit screens that displays all meta keys and their unserialized values in real-time.

This feature is particularly useful for developers who need to debug custom fields, inspect metadata created by plugins or themes, or understand what data is being stored for each post.

Accessing Post Metadata

To view metadata for any post or page:

  1. Navigate to Posts → All Posts (or Pages → All Pages)
  2. Click on the post or page you want to inspect
  3. Scroll down on the edit screen
  4. Look for the “Post Metadata” or “Page Metadata” metabox
Note

The metabox may be positioned differently depending on your WordPress admin layout and other active plugins. You can drag it to your preferred location on the screen.

Understanding the Metadata Display

The metabox displays metadata in a clear, easy-to-read format:

  • Meta Key: The name of the metadata field
  • Meta Value: The unserialized value stored in the database

Unserialized Values

One of the key features of PureDevs Any Meta Inspector is that it automatically unserializes complex metadata values. This means:

  • Arrays are displayed in a readable format instead of serialized strings
  • Objects are unpacked to show their structure
  • Nested data is properly formatted for easy inspection
  • You see the actual data structure, not PHP serialization syntax
Pro Tip

This unserialization feature makes PureDevs Any Meta Inspector particularly valuable when working with complex metadata created by page builders, SEO plugins, or custom development.

Common Metadata You’ll See

Depending on your WordPress setup and active plugins, you might see various types of metadata:

WordPress Core Metadata

  • _edit_last – ID of the user who last edited the post
  • _edit_lock – Post editing lock information
  • _wp_page_template – Custom page template being used
  • _thumbnail_id – Featured image attachment ID

Plugin-Generated Metadata

  • SEO Plugins: Title tags, meta descriptions, focus keywords
  • Page Builders: Layout data, custom styling, element configurations
  • Custom Fields: ACF fields, Pods data, Metabox.io fields
  • E-commerce: Product data, pricing information, inventory status

Theme Metadata

  • Custom layout settings
  • Sidebar configurations
  • Header/footer options
  • Typography and color schemes

Common Use Cases

Here are some practical scenarios where inspecting post metadata is invaluable:

1. Debugging Custom Fields

When custom fields aren’t displaying correctly on the frontend, inspect the metadata to verify:

  • The data is being saved correctly
  • The meta key matches what your code is querying
  • The value format is what your theme/plugin expects

2. Plugin Development

During plugin development, use the inspector to:

  • Verify your plugin is saving metadata correctly
  • Check data structure and format
  • Debug serialization issues
  • Inspect how other plugins store their data

3. Theme Migration

When migrating to a new theme:

  • Identify metadata used by the old theme
  • Plan data migration strategies
  • Ensure important metadata is preserved

4. Plugin Compatibility

Check for conflicts between plugins by:

  • Identifying duplicate or conflicting meta keys
  • Verifying expected metadata exists
  • Understanding how different plugins interact with the same post

Tips & Best Practices

Screen Options

If you don’t see the metadata metabox, check the Screen Options:

  1. Click Screen Options at the top-right of the edit screen
  2. Ensure the metadata metabox is checked/enabled
  3. Adjust the number of columns if needed for better layout

No Metadata Displayed?

If a post shows no metadata in the metabox:

  • The post genuinely has no custom metadata
  • Only internal WordPress metadata exists (which may be hidden)
  • Try inspecting a post created by a page builder or with custom fields

Working with Large Datasets

For posts with extensive metadata:

  • The metabox may take a moment to render all data
  • Complex nested arrays will be fully expanded
  • Scroll within the metabox to see all metadata fields
Important

PureDevs Any Meta Inspector is read-only. You can view metadata but cannot edit it through this plugin. To modify metadata, use the appropriate custom fields interface or edit the database directly (with caution).

Troubleshooting

Metabox not visible

  • Check Screen Options to enable the metabox
  • Verify the plugin is activated
  • Try refreshing the page
  • Check for JavaScript conflicts in browser console

Partial or garbled metadata display

  • This usually indicates corrupted metadata in the database
  • The plugin shows exactly what’s stored in the database
  • You may need to fix the source of the corrupt data

Performance issues on posts with lots of metadata

  • Large amounts of metadata may slow down the edit screen
  • This is normal behavior when rendering extensive data
  • Consider hiding the metabox when not actively inspecting