get_the_modified_time


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

Parameters:
  • (string) $d 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.
Returns:
  • (false|string) Formatted date string or Unix timestamp. False on failure.
Defined at:
Change Log:
  • 4: .

Description

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