apply_filters( 'get_the_modified_time', string|bool $the_time, string $d, WP_Post|null $post )

Filters the localized time a post was last modified.

Description Description

Parameters Parameters


(string|bool) The formatted time or false if no post is found.


(string) Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format. Defaults to value specified in 'time_format' option.


(WP_Post|null) WP_Post object or null if no post is found.

Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.6.0 Added the $post parameter.
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.