the_modified_date
the_modified_date ( $format = '', $before = '', $after = '', $display = true )
Parameters:- (string) format Optional. PHP date format. Defaults to the 'date_format' option.
- (string) before Optional. Output before the date. Default empty.
- (string) after Optional. Output after the date. Default empty.
- (bool) display Optional. Whether to echo the date or return it. Default true.
Returns:- (string|void) String if retrieving.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Displays the date on which the post was last modified.