函数原型
print_column_headers( string|WP_Screen $screen, bool $with_id = true )
函数描述
Prints column headers for a particular screen.
是否弃用
未弃用
函数参数
-
$screen
string|WP_Screen
Required - The screen hook name or screen object.
-
$with_id
bool
Optional - Whether to set the ID attribute or not.
Default:
true
函数返回值
无
函数位置
File: wp-admin/includes/list-table.php.
函数源码
function print_column_headers( $screen, $with_id = true ) {
$wp_list_table = new _WP_List_Table_Compat( $screen );
$wp_list_table->print_column_headers( $with_id );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |

