Summery Summery
Display the time at which the post was last modified.
Syntax Syntax
Parameters Parameters
- $format
-
(Optional) Either 'G', 'U', or PHP date format defaults to the value specified in the time_format option.
Default value: ''
Source Source
File: wp-includes/general-template.php
if ( ! $post ) { return false; } $source = ( $gmt ) ? 'gmt' : 'local'; $datetime = get_post_datetime( $post, 'date', $source ); if ( false === $datetime ) { return false; } if ( 'U' === $format || 'G' === $format ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |