manage_themes_custom_column
云策文档标注
概述
此文档描述了 WordPress 多站点主题列表表中自定义列的输出钩子。它允许开发者在每个自定义列内添加自定义内容或样式。
关键要点
- 钩子名称:manage_themes_custom_column
- 触发位置:多站点主题列表表的每个自定义列内部
- 参数:$column_name(列名)、$stylesheet(主题目录名)、$theme(WP_Theme 对象)
- 相关函数:WP_MS_Themes_List_Table::column_default() 用于处理默认列输出
- 引入版本:WordPress 3.1.0
原文内容
Fires inside each custom column of the Multisite themes list table.
Parameters
Source
do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |