WordPress at a glance
filter is not described

get_lastpostdate filter-hook . WP 2.3.0

Filters the most recent time that a post on the site was published.

Usage

add_filter( 'get_lastpostdate', 'filter_function_name_1367', 10, 3 );
function filter_function_name_1367( $lastpostdate, $timezone, $post_type ){
	// filter...

	return $lastpostdate;
}
$lastpostdate(string/false)
The most recent time that a post was published, in 'Y-m-d H:i:s' format. False on failure.
$timezone(string)
Location to use for getting the post published date. See get_lastpostdate() for accepted $timezone values.
$post_type(string)
The post type to check.

Changelog

Since 2.3.0 Introduced.
Since 5.5.0 Added the $post_type parameter.

Where the hook is called

get_lastpostdate()
get_lastpostdate
wp-includes/post.php 6637
return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone, $post_type );

Where in WP core the hook is used WordPress

Usage not found.