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

Description

Retrieves the date on which the post was last modified.

Related Functions

get_the_modified_time, the_modified_date, get_the_modified_author, get_post_modified_time, the_modified_time

Top Google Results

User discussions

wpseek mobile