Summery Summery
Display the time at which the post was written.
Syntax Syntax
Parameters Parameters
- $format
-
(Optional) Either 'G', 'U', or PHP date format.
Default value: ''
Source Source
File: wp-includes/general-template.php
*/ $the_date = apply_filters( 'the_date', $the_date, $format, $before, $after ); if ( $echo ) { echo $the_date; } else { return $the_date; } } /** * Retrieve the date on which the post was written.
Advertisement
Changelog Changelog
Version | Description |
---|---|
0.71 | Introduced. |