print_column_headers()

最后更新于:2021-11-27 20:21:45

print_column_headers( string|GC_Screen$screen, bool$with_id=true)

Prints column headers for a particular screen.

参数

$screen

(string|GC_Screen) (Required) The screen hook name or screen object.

$with_id

(bool) (Optional) Whether to set the ID attribute or not.

Default value: true

源文件

文件: gc-admin/includes/list-table.php

function print_column_headers( $screen, $with_id = true ) {
	$gc_list_table = new _GC_List_Table_Compat( $screen );

	$gc_list_table->print_column_headers( $with_id );
}