print_column_headers

The timeline below displays how wordpress function print_column_headers has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.5

/**
 * Prints column headers for a particular screen.
 *
 * @since 2.7.0
 *
 * @param string|WP_Screen $screen  The screen hook name or screen object.
 * @param bool             $with_id Whether to set the ID attribute or not.
 */
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);
}

WordPress Version: 4.5

/**
 * Prints column headers for a particular screen.
 *
 * @since 2.7.0
 *
 * @param string|WP_Screen $screen  The screen hook name or screen object.
 * @param bool             $with_id Whether to set the id attribute or not.
 */
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);
}

WordPress Version: 3.7

/**
 * Prints column headers for a particular screen.
 *
 * @since 2.7.0
 */
function print_column_headers($screen, $id = true)
{
    $wp_list_table = new _WP_List_Table_Compat($screen);
    $wp_list_table->print_column_headers($id);
}