get_the_modified_time
get_the_modified_time ( $format = '', $post = null )
Parameters:- (string) format Optional. Format to use for retrieving the time the post
was modified. Accepts 'G', 'U', or PHP date format.
Defaults to the 'time_format' option.
- (int|WP_Post|null) post Optional. Post ID or WP_Post object. Default current post.
Returns:- (string|int|false) Formatted date string or Unix timestamp. False on failure.
Defined at:Change Log: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
Retrieves the time at which the post was last modified.