为特定屏幕注册列标题。
说明(Description)
另见函数 get_column_headers()
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$screen | (string) | 必需 | 要向其添加帮助的屏幕的句柄。这通常是addu* u page()函数返回的挂钩名称。 |
$columns | (string[]) | 必需 | 一个列数组,列id作为键,转换后的列名作为值。 |
返回(Return)
无返回值
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-admin/includes/list-table.php:77 | 0 | 1 function |