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



get_post_time › Les Filtres WordPress

Depuis2.6.0
Dépréciéen/a
› apply_filters( 'get_post_time', $time, $format, $gmt )
Paramètres: (3)
  • () time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Requis: Oui
  • () format Format to use for retrieving the date of the post. Accepts 'G', 'U', or PHP date format.
    Requis: Oui
  • () gmt Whether to retrieve the GMT time.
    Requis: Oui
Voir:
  • get_post_time()
Défini(e) dans:
Codex:

Filters the localized time of the post.

The filtered value should match the type and values that `$format` produces, for example, an integer for 'U' or 'G', or a numeric string from '0' to '6' for 'w'.




Source

return apply_filters( 'get_post_time', $time, $format, $gmt );