A WordPress-centric search engine for devs and theme authors



post_date_column_time ›

Since2.5.1
Deprecatedn/a
apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode )
Parameters: (4)
  • (string) $t_time The published time.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
  • (string) $column_name The column name.
    Required: Yes
  • (string) $mode The list display mode ('excerpt' or 'list').
    Required: Yes
Defined at:
Codex:

Filters the published time of the post.

If $mode equals 'excerpt', the published time and date are both displayed. If $mode equals 'list' (default), the publish date is displayed, with the time and date together available as an abbreviation definition.





Source

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