manage_comments_custom_column action-hookWP 2.8.0

Fires when the default column output is displayed for a single row.

Usage

add_action( 'manage_comments_custom_column', 'wp_kama_manage_comments_custom_column_action', 10, 2 );

/**
 * Function for `manage_comments_custom_column` action-hook.
 * 
 * @param string $column_name The custom column's name.
 * @param string $comment_id  The comment ID as a numeric string.
 *
 * @return void
 */
function wp_kama_manage_comments_custom_column_action( $column_name, $comment_id ){

	// action...
}
$column_name(string)
The custom column's name.
$comment_id(string)
The comment ID as a numeric string.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

WP_Comments_List_Table::column_default()
manage_comments_custom_column
wp-admin/includes/class-wp-comments-list-table.php 1116
do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );

Where the hook is used in WordPress

Usage not found.