wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



date_i18n › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
› apply_filters( 'date_i18n', $date, $format, $timestamp, $gmt )
Parametry: (4)
  • () date Formatted date string.
    Wymagane: Tak
  • () format Format to display the date.
    Wymagane: Tak
  • () timestamp A sum of Unix timestamp and timezone offset in seconds. Might be without offset if input omitted timestamp but requested GMT.
    Wymagane: Tak
  • () gmt Whether to use GMT timezone. Only applies if timestamp was not provided.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the date formatted based on the locale.





Źródło

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