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



register_column_headers › WordPress Function

Since2.7.0
已弃用n/a
register_column_headers ( $screen, $columns )
参数: (2)
  • (string) $screen The handle for the screen to register column headers for. This is usually the hook name returned by the `add_*_page()` functions.
    Required: Yes
  • (string[]) $columns An array of columns with column IDs as the keys and translated column names as the values.
    Required: Yes
查看:
定义在:
文档:

Register column headers for a particular screen.



源码

function register_column_headers( $screen, $columns ) {
	new _WP_List_Table_Compat( $screen, $columns );
}