Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Peri Bala

How to wrap Date Modified column?

Column : Date Modified
Format : Y-m-d g:i a
Display : 2019-11-21 1:52 am

Date Modified column showing as one line.
2019-11-21 1:52 am

How to make Date Modified column to show as 2 lines?
1:52 am

4 years, 4 months ago
Stefan van den Dungen Gronovius

The only way to do that is by altering the value with the following hook.

You’ll have to check for the date modified column, parse the value to display it on two separate lines.
You can call $column->get_raw_value( $id ) to get the actual value from the database and do the dateformatting yourself.

4 years, 4 months ago

You must be logged in to reply to this topic.