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

Filters the date a post was published.


Parameters Parameters

$the_date

(string) The formatted date.

$format

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

$post

(int|WP_Post) The post object or ID.


Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.