From b34a59b835e1ed2e0efc5b748dadbfb023c79105 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 19 Apr 2009 20:18:27 +0000 Subject: [PATCH] Add manage_comments_custom_column hook. Props sirzooro, coffee2code. fixes #9583 git-svn-id: https://develop.svn.wordpress.org/trunk@11007 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index c1cfc18b8d..635482279c 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2212,6 +2212,12 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, echo "#"; echo ''; } + break; + default: + echo "\n"; + do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID ); + echo "\n"; + break; } } echo "\n";