the_date

Advertisement

Summery Summery

Filters the date a post was published for display.

Syntax Syntax

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

Parameters Parameters

$the_date

(string) The formatted date string.

$format

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

$before

(string) HTML output before the date.

$after

(string) HTML output after the date.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
0.71 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.