On this page
apply_filters( 'media_date_column_time', string $h_time, WP_Post $post, string $column_name )
Filters the published time of an attachment displayed in the Media list table.
Parameters
$h_timestring-
The published time.
$postWP_Post-
Attachment object.
$column_namestring-
The column name.
Source
File: wp-admin/includes/class-wp-media-list-table.php. View all references
echo apply_filters( 'media_date_column_time', $h_time, $post, 'date' );
Related
Used By
| Used By | Description |
|---|---|
| WP_Media_List_Table::column_date() wp-admin/includes/class-wp-media-list-table.php | Handles the date column output. |
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_date_column_time