WordPress at a glance
filter is not described

get_the_modified_time filter-hook . WP 2.0.0

Filters the localized time a post was last modified.

Usage

add_filter( 'get_the_modified_time', 'filter_function_name_1237', 10, 3 );
function filter_function_name_1237( $the_time, $d, $post ){
	// filter...

	return $the_time;
}
$the_time(string/true/false)
The formatted time or false if no post is found.
$d(string)
Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format.
Default: value specified in 'time_format' option
$post(WP_Post/null)
WP_Post object or null if no post is found.

Notes

  • Since 4.6.0 Added the $post parameter.

Where the hook is called

get_the_modified_time()
wp-includes/general-template.php 2502
return apply_filters( 'get_the_modified_time', $the_time, $d, $post );

Where the hook is used (in WP core)

Does not used.