This plugin is outdated and might not be supported anymore
CPT Meta Size Analyzer

CPT Meta Size Analyzer

Details
View on WordPress

CPT Meta Size Analyzer is a simple yet powerful plugin that provides insights into your WordPress post meta and content sizes. It helps you monitor and analyze meta and content data for various post types including custom post types (CPT).

Key Features:

  • Meta Size Table: Displays total meta entries and their size (Bytes, KB, MB) for each selected post type.
  • Content Size Table: Displays total post entries and their content size.
  • Size Type Option: Choose between Bytes, KB, or MB as the default unit to display in post listings.
  • Per Post Meta Size: Adds a “Meta Size” column in post listings to show individual post meta size.
  • Post Type Selection: Enable/disable post types to include in analysis.
  • Cache Control: Clear cached data for fresh recalculation.
  • Filter for Post Statuses: Developers can customize which post statuses are included in size calculations using a filter.

Use Cases:

  • Detect unusually large meta data.
  • Analyze content storage usage.

Filters

cptmesia_content_size_post_statuses

This filter allows you to customize which post statuses are included in meta and content size calculations.
By default, the plugin includes ‘publish’ and ‘draft’.

Example: Add ‘private’ post status for calculation:

add_filter( 'cptmesia_content_size_post_statuses', function( $statuses ) {
    $statuses[] = 'private'; // Include private posts.
    return $statuses;
});<h3>License</h3>

This plugin is licensed under the GPLv2 or later.

Details

Plugin code:
cpt-meta-size-analyzer
Plugin version:
1.0.1
Outdated:
Yes
WP version:
5.9 or higher
PHP version:
7.2 or higher
Test up to WP version:
6.7.2
Total installations:
0
Last updated:
2025-04-14
Rating:
Times rated:
0
custom-post-type
meta-analyzer
performance
post-meta-size