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



date_i18n › Les Filtres WordPress

Depuis2.8.0
Dépréciéen/a
› apply_filters( 'date_i18n', $date, $format, $timestamp, $gmt )
Paramètres: (4)
  • () date Formatted date string.
    Requis: Oui
  • () format Format to display the date.
    Requis: Oui
  • () timestamp A sum of Unix timestamp and timezone offset in seconds. Might be without offset if input omitted timestamp but requested GMT.
    Requis: Oui
  • () gmt Whether to use GMT timezone. Only applies if timestamp was not provided.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the date formatted based on the locale.





Source

$date = apply_filters( 'date_i18n', $date, $format, $timestamp, $gmt );