Are there any filters to add additional columns to the list table on edit-comments.php?

I’m trying to modify the display of the edit-comments.php admin page and I’m not seeing any filters in it comparable to manage_posts_columns etc.

Is there an easy way to do this? I’m thinking the only real way to go about doing this is to extend WP_Comments_List_Table with my own class, overwrite the get_columns and other related functions, and just add my own page to the admin menu which uses this new class in the same way that edit-comments.php uses WP_Comments_List_Table.

Read More

Is there an easier way to do this that I’m just not seeing?

Related posts

Leave a Reply

2 comments

  1. I’m afraid that there is no easy way to get that done yet because the only hook i found is manage_comments_custom_column and that is an action hook and not a filter hook so you can’t add columns like manage_posts_columns. so as far as i can tell the long way here is the only way. but you can almost duplicate the default edit-comments.php and extending small classes like wp_post_comments_list_table and more.