Prints column headers for a particular screen.
Parameters
$screen
string|WP_Screenrequired- The screen hook name or screen object.
$with_id
booloptional- Whether to set the ID attribute or not.
Default:
true
Source
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 );
}
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.