wpseek.com
WordPress开发者和主题制作者的搜索引擎



manage_{$screen->id}_columns › WordPress过滤钩子

Since3.0.0
已弃用n/a
› apply_filters( "manage_{$screen->id}_columns", array()
参数:
  • () columns The column header labels keyed by column ID.
    Required: Yes
定义在:
文档:

Filters the column headers for a list table on a specific screen.

The dynamic portion of the hook name, `$screen->id`, refers to the ID of a specific screen. For example, the screen ID for the Posts list table is edit-post, so the filter for that screen would be manage_edit-post_columns.




源码

$column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() );