print_column_headers()
Prints column headers for a particular screen.
No Hooks.
Returns
null. Nothing (null).
Usage
print_column_headers( $screen, $with_id );
- $screen(string|WP_Screen) (required)
- The screen hook name or screen object.
- $with_id(true|false)
- Whether to set the ID attribute or not.
Default:true
Changelog
| Since 2.7.0 | Introduced. |
print_column_headers() print column headers code WP 7.0
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 );
}