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.


add_filter( 'get_lastpostdate', 'filter_function_name_361', 10, 2 );
function filter_function_name_361( $date, $timezone ){
	// filter...

	return $date;
Date the last post was published. False on failure.
Location to use for getting the post published date. See get_lastpostdate() for accepted $timezone values.


Since 2.3.0 Introduced.

Where the hook is called

wp-includes/post.php 6448
return apply_filters( 'get_lastpostdate', _get_last_post_time( $timezone, 'date', $post_type ), $timezone );

Where in WP core the hook is used

Usage not found!