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) 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:
  • 4: .

Description

Retrieves the time at which the post was last modified.

Related Functions

get_the_modified_date, the_modified_time, get_post_modified_time, get_the_modified_author, the_modified_date

Top Google Results

User discussions

wpseek mobile