post_date_column_time WordPress Filter Hook

The post_date_column_time hook allows you to change the time displayed in the post date column on the Posts list table.

apply_filters( 'post_date_column_time', string $t_time, WP_Post $post, string $column_name, string $mode ) #

Filters the published 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').


Top ↑

Source

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

View on Trac



Top ↑

Changelog

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.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.