WordPress at a glance
filter is not described

get_lastpostdate filter-hook . WP 2.3.0

Filters the date the last post was published.


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

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

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.