Syntax Syntax
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 ),