/** * Get the column headers for a screen * * @since 2.7.0 * @deprecated 3.1.0 * @deprecated Use WP_List_Table * * @param string|object $screen The screen you want the headers for * @return array Containing the headers in the format id => UI String */ function get_column_headers($screen) { _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); } list($columns) = $wp_list_table->get_column_headers(); return $columns; }