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



print_column_headers ›

Since2.7.0
已弃用n/a
print_column_headers ( $screen, $with_id = true )
参数: (2)
  • (string|WP_Screen) $screen The screen hook name or screen object.
    Required: Yes
  • (bool) $with_id Whether to set the id attribute or not.
    Required: No
    默认: true
定义在:
文档:

Prints column headers for a particular screen.



源码

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 );
}