apply_filters( 'get_the_date', string $the_date, string $d, int|WP_Post $post )

Filters the date a post was published.


Parameters

$the_date

(string) The formatted date.

$d

(string) PHP date format. Defaults to 'date_format' option if not specified.

$post

(int|WP_Post) The post object or ID.


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.0.0 Introduced.