WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about date_i18n

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/functions.php apply_filters 217 /**
* Filters the date formatted based on the locale.
*
* @since 2.8.0
*
* @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.
* Default false.
*/

Hook Parameters

Parameter Type Name Description
string $date Formatted date string.
string $format Format to display the date.
int $timestamp A sum of Unix timestamp and timezone offset in seconds.
bool $gmt Whether to use GMT timezone. Only applies if timestamp was not provided.