Filters the date formatted based on the locale.
$datestring$formatstring$timestampint$gmtboolwp-includes/functions.php:220date_i18n() * @param string $date Formatted date string. * @param string $format Format to display the date. * @param int $timestamp A sum of Unix timestamp and timezone offset in seconds. * Might be without offset if input omitted timestamp but requested GMT. * @param bool $gmt Whether to use GMT timezone. Only applies if timestamp was not provided. */ $date = apply_filters( 'date_i18n', $date, $format, $timestamp, $gmt ); return $date;} /** * Retrieves the date, in localized format.Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.