WP_Comments_List_Table::column_default

Advertisement

Syntax Syntax

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

Parameters Parameters

$comment

(Required) The comment object.

$column_name

(Required) The custom column's name.

Source Source

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

	}

	/**
	 * @param WP_Comment $comment The comment object.
	 */
	public function column_date( $comment ) {
		$submitted = sprintf(
			/* translators: 1: Comment date, 2: Comment time. */
			__( '%1$s at %2$s' ),
			/* translators: Comment date format. See https://www.php.net/date */
			get_comment_date( __( 'Y/m/d' ), $comment ),

Advertisement

Advertisement

Leave a Reply