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

Prints column headers for a particular screen.

Parameters Parameters


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


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

Default value: true

Top ↑

Source Source

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

Top ↑

Changelog Changelog

Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.