/** * 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); }
/** * Prints column headers for a particular screen. * * @since 2.7.0 * @deprecated 3.1.0 * @deprecated Use WP_List_Table */ function print_column_headers($screen, $id = true) { _deprecated_function(__FUNCTION__, '3.1', 'WP_List_Table'); global $wp_list_table; if (!is_a($wp_list_table, 'WP_List_Table')) { $wp_list_table = new _WP_List_Table_Compat($screen); } $wp_list_table->print_column_headers($id); }