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

Filters the date a post was published.

Description Description

Parameters Parameters


(string) The formatted date.


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


(int|WP_Post) The post object or ID.

Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac

Top ↑

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.