the_modified_date

SummerySummery

Display the date on which the post was last modified.

Syntax

the_modified_date( string $format = '', string $before = '', string $after = '', bool $echo = true )

ParametersParameters

$format

(string) (Optional) PHP date format defaults to the date_format option if not specified.

Default value: ''

$before

(string) (Optional) Output before the date.

Default value: ''

$after

(string) (Optional) Output after the date.

Default value: ''

$echo

(bool) (Optional) default is display. Whether to echo the date or return it.

Default value: true

ReturnReturn

(string|void) String if retrieving.

SourceSource

File: wp-includes/general-template.php


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.
Scroll to Top