Uma área de pesquisa sobre o WordPress para devs e autores do tema

post_date_column_time ›

apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode )
Parâmetros: (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
Definido em:

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.


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