Filter hook 'get_the_date'

in WP Core File wp-includes/general-template.php at line 2604

Description

Filters the date a post was published.

Occurrences

Filename Line Number
wp-includes/general-template.php 2604

Parameters

Type Name Description
string|int $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
string $format PHP date format.
WP_Post $post The post object.

PHP Doc

/**
	 * Filters the date a post was published.
	 *
	 * @since 3.0.0
	 *
	 * @param string|int  $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
	 * @param string      $format   PHP date format.
	 * @param WP_Post     $post     The post object.
	 */