W3cubDocs

/WordPress

WP_Comments_List_Table::column_default( WP_Comment $comment, string $column_name )

Parameters

$comment

(WP_Comment) (Required) The comment object.

$column_name

(string) (Required) The custom column's name.

Source

File: wp-admin/includes/class-wp-comments-list-table.php

public function column_default( $comment, $column_name ) {
		/**
		 * Fires when the default column output is displayed for a single row.
		 *
		 * @since 2.8.0
		 *
		 * @param string $column_name The custom column's name.
		 * @param int    $comment_ID  The custom column's unique ID number.
		 */
		do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_comments_list_table/column_default