wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



date_i18n › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'date_i18n', $date, $format, $timestamp, $gmt )
Parameter: (4)
  • () date Formatted date string.
    Erforderlich: Ja
  • () format Format to display the date.
    Erforderlich: Ja
  • () timestamp A sum of Unix timestamp and timezone offset in seconds. Might be without offset if input omitted timestamp but requested GMT.
    Erforderlich: Ja
  • () gmt Whether to use GMT timezone. Only applies if timestamp was not provided.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the date formatted based on the locale.





Quellcode

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