GC_Comments_List_Table::column_default()

最后更新于:2021-11-26 22:30:19

GC_Comments_List_Table::column_default( GC_Comment$comment, string$column_name)

参数

$comment

(GC_Comment) (Required) The comment object.

$column_name

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

源文件

文件: gc-admin/includes/class-gc-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 );
	}