get_the_modified_date
get_the_modified_date ( $format = '', $post = null )
Parameters:- (string) format Optional. PHP date format. Defaults to the 'date_format' option.
- (int|WP_Post) post Optional. Post ID or WP_Post object. Default current post.
Returns:- (string|int|false) Date the current post was modified. False on failure.
Defined at:Change Log: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieves the date on which the post was last modified.