Outil de recherche WordPress pour les développeurs et auteurs de thèmes



post_date_column_time ›

Depuis2.5.1
Dépréciéen/a
apply_filters( 'post_date_column_time', $t_time, $post, 'date', $mode )
Paramètres: (4)
  • (string) $t_time The published time.
    Requis: Oui
  • (WP_Post) $post Post object.
    Requis: Oui
  • (string) $column_name The column name.
    Requis: Oui
  • (string) $mode The list display mode ('excerpt' or 'list').
    Requis: Oui
Défini(e) dans:
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 );