Add manage_comments_custom_column hook. Props sirzooro, coffee2code. fixes #9583

git-svn-id: http://svn.automattic.com/wordpress/trunk@11007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-19 20:18:27 +00:00
parent efc5be4569
commit e2e37d209e

View File

@ -2212,6 +2212,12 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true,
echo "<a href='" . get_permalink( $post->ID ) . "'>#</a>";
echo '</div></td>';
}
break;
default:
echo "<td $attributes>\n";
do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );
echo "</td>\n";
break;
}
}
echo "</tr>\n";