manage_comments_custom_column action-hook . WP 2.8.0
Fires when the default column output is displayed for a single row.
Usage
add_action( 'manage_comments_custom_column', 'action_function_name_7244', 10, 2 ); function action_function_name_7244( $column_name, $comment_ID ){ // action... }
- $column_name(string)
- The custom column's name.
- $comment_ID(int)
- The custom column's unique ID number.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
manage_comments_custom_column
wp-admin/includes/class-wp-comments-list-table.php 1031
do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );