Title: WP_Post_Comments_List_Table::get_column_info
Published: April 25, 2014
Last modified: February 24, 2026

---

# WP_Post_Comments_List_Table::get_column_info(): array

## In this article

 * [Return](https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/get_column_info/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/get_column_info/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/get_column_info/?output_format=md#related)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/get_column_info/?output_format=md#wp--skip-link--target)

## 󠀁[Return](https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/get_column_info/?output_format=md#return)󠁿

 array

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/get_column_info/?output_format=md#source)󠁿

    ```php
    protected function get_column_info() {
    	return array(
    		array(
    			'author'  => __( 'Author' ),
    			'comment' => _x( 'Comment', 'column name' ),
    		),
    		array(),
    		array(),
    		'comment',
    	);
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-post-comments-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/class-wp-post-comments-list-table.php#L22)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/class-wp-post-comments-list-table.php#L22-L32)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/get_column_info/?output_format=md#related)󠁿

| Uses | Description | 
| [__()](https://developer.wordpress.org/reference/functions/__/)`wp-includes/l10n.php` |

Retrieves the translation of $text.

  | 
| [_x()](https://developer.wordpress.org/reference/functions/_x/)`wp-includes/l10n.php` |

Retrieves translated string with gettext context.

  |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_post_comments_list_table%2Fget_column_info%2F)
before being able to contribute a note or feedback.