[WordPress] 外掛分享: CPT Meta Size Analyzer

WordPress 外掛 CPT Meta Size Analyzer 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「CPT Meta Size Analyzer」是 2025-04-13 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-04-15,距離現在已有 19 天。
  • 外掛最低要求 WordPress 5.9 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

krishaweb | praful2111 | hiteshtalpada |

外掛標籤

performance | meta analyzer | post meta size | custom post type |

內容簡介

**外掛總結:**

CPT Meta Size Analyzer 是一個簡單而強大的外掛,可以提供對 WordPress 文章元資料和內容大小的洞察。這可幫助您監視和分析各種文章類型,包括自訂文章類型(CPT)的元資料和內容數據。

**問題與答案:**

- 這個外掛的主要功能有哪些?
- Meta Size Table: 顯示每個選定文章類型的總元資料項目及其大小(Bytes、KB、MB)。
- Content Size Table: 顯示總文章項目及其內容大小。
- Size Type Option: 在文章列表中選擇 Bytes、KB 或 MB 作為預設單位。
- Per Post Meta Size: 在文章列表中添加「Meta Size」欄位,顯示單個文章元資料大小。
- Post Type Selection: 啟用/停用文章類型以進行分析。
- Cache Control: 清除快取數據以進行新的重新計算。
- Filter for Post Statuses: 開發者可以使用篩選器自定義包含在大小計算中的文章狀態。

- 這個外掛的用途是什麼?
- 檢測異常龐大的元資料。
- 分析內容存儲使用量。

- 有哪些篩選器可以使用?
- cptmesia_content_size_post_statuses: 這個篩選器允許您自定義包含在元資料和內容大小計算中的文章狀態。

- 這個外掛的授權是什麼?
- 這個外掛的授權是根據 GPLv2 或更高版本。

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CPT Meta Size Analyzer」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.1 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Mastodon