wp-admin/includes/class-wp-ms-themes-list-table.php

WP檔案
函式/鉤子名 描述
theme_row_meta (過濾鉤子) theme_row_meta是一個WordPress過濾鉤子,允許開發者在WordPress管理區的主題頁面上為主題列表新增額外的元資訊。
theme_auto_update_setting_html (過濾鉤子) theme_auto_update_setting_html是一個WordPress過濾鉤子,它允許開發者修改自動主題更新設定的HTML輸出。
theme_action_links_{$stylesheet} (過濾鉤子) theme_action_links_{$stylesheet}是theme_action_links鉤子的一個變種,專門針對某一特定主題。它允許開發者在主題頁面的”行動”連結部分為特定主題新增額外的
theme_action_links (過濾鉤子) theme_action_links是一個WordPress過濾鉤子,允許開發者在WordPress管理區的主題頁面的”Action”連結部分新增額外的連結。這可以用來新增到自定義主題設定頁面的連結,
manage_themes_custom_column (動作鉤子) manage_themes_custom_column: 這是WordPress的一個動作鉤子,允許外掛或主題在主題表中新增自定義列。這個鉤子是在wp-admin/themes.php檔案中觸發的。
all_themes (過濾鉤子) all_themes是一個過濾器,允許你修改主題庫中可用的主題列表。該過濾器被應用於主題列表,可以用來從列表中新增或刪除主題。
after_theme_row_{$stylesheet} (動作鉤子) after_theme_row_{$stylesheet}: 這是一個鉤子,在WordPress”外觀>主題”頁面中顯示特定主題的資訊行後被觸發。引數$stylesheet是主題樣式表檔案的名稱。開發
after_theme_row (動作鉤子) after_theme_row: 這是一個鉤子,在WordPress”外觀>主題”頁面中顯示每一行主題資訊後被觸發。開發者可以使用這個鉤子來新增額外的資訊或資料到主題行中。

常見問題

FAQs
檢視更多 >