apply_filters( ‘post_date_column_time’, string $t_time, WP_Post $post, string $column_name, string $mode )

In this article

Filters the published, scheduled, or unpublished time of the post.

Parameters

$t_timestring
The published time.
$postWP_Post
Post object.
$column_namestring
The column name.
$modestring
The list display mode ('excerpt' or 'list').

Source

echo apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode );

Changelog

VersionDescription
5.5.0Removed the difference between 'excerpt' and 'list' modes.
The published time and date are both displayed now, which is equivalent to the previous 'excerpt' mode.
2.5.1Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.