Summery Summery
Retrieve post published or modified time as a Unix timestamp.
Syntax Syntax
Description Description
Note that this function returns a true Unix timestamp, not summed with timezone offset like older WP functions.
Parameters Parameters
Return Return
(int|false) Unix timestamp on success, false on failure.
Source Source
File: wp-includes/general-template.php
return apply_filters( 'get_the_time', $the_time, $format, $post ); } /** * Retrieve the time at which the post was written. * * @since 2.0.0 * * @param string $format Optional. Format to use for retrieving the time the post
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |