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
This commit is contained in:
Ryan Boren 2009-04-19 20:18:27 +00:00
parent d89d4ef685
commit b34a59b835
1 changed files with 6 additions and 0 deletions

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";