apply_filters( 'the_date', string $the_date, string $d, string $before, string $after )

Filters the date a post was published for display.

Description Description

Parameters Parameters


(string) The formatted date string.


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


(string) HTML output before the date.


(string) HTML output after the date.

Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
0.71 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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