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

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

Parameters

$t_time string
The published time.
$post WP_Post
Post object.
$column_name string
The column name.
$mode string
The list display mode ( 'excerpt' or 'list' ).

Source

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

Changuelog

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

User Contributed Notes

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