wpseek.com
A WordPress-centric search engine for devs and theme authors



date_i18n › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'date_i18n', $date, $format, $timestamp, $gmt )
Parameters: (4)
  • () date Formatted date string.
    Required: Yes
  • () format Format to display the date.
    Required: Yes
  • () timestamp A sum of Unix timestamp and timezone offset in seconds. Might be without offset if input omitted timestamp but requested GMT.
    Required: Yes
  • () gmt Whether to use GMT timezone. Only applies if timestamp was not provided.
    Required: Yes
Defined at:
Codex:

Filters the date formatted based on the locale.





Source

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