跳到内容

CPT Meta Size Analyzer

v1.0.2

Hitesh Talpada · 2025年4月14日 上架

Analyze and display total size of post meta and content data for selected post types. Helps identify large meta or content data for optimization.

正在使用
10 以下
评分
暂无
累计下载
748
最近更新
2026年8月9日
需要 WordPress 5.9+已测试到 7.0.9PHP 7.2+

截图

Meta Setting - Select units (Bytes, KB, MB) and enable/disable post types.
Meta Setting - Select units (Bytes, KB, MB) and enable/disable post types.
Sizes Table - View total meta and content sizes by post type.
Sizes Table - View total meta and content sizes by post type.
Meta Size Column in Post List - Individual post meta size with a 'View' button for detailed info.
Meta Size Column in Post List - Individual post meta size with a 'View' button for detailed info.
Meta List Modal - Displays a modal window showing all meta keys and meta value for the selected post.
Meta List Modal - Displays a modal window showing all meta keys and meta value for the selected post.

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;
});

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums