get_the_modified_time ( $format = '', $post = null )

  • (string) format Optional. Format to use for retrieving the time the post was modified. Either 'G', 'U', or PHP date format defaults to the value specified in the time_format option. Default empty.
  • (int|WP_Post) post Optional. Post ID or WP_Post object. Default current post.
  • (string|bool) Formatted date string or Unix timestamp. False on failure.
Defined at:
Change Log:
  • 4: .


Retrieve 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