WordPress at a glance
filter is not described

get_lastpostmodified filter-hook . WP 2.3.0

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

Usage

add_filter( 'get_lastpostmodified', 'filter_function_name_7536', 10, 3 );
function filter_function_name_7536( $lastpostmodified, $timezone, $post_type ){
	// filter...

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

Список изменений

С версии 2.3.0 Введена.
С версии 5.5.0 Added the $post_type parameter.

Где вызывается хук

get_lastpostmodified()
get_lastpostmodified
wp-includes/post.php 6694
return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone, $post_type );

Где используется хук в ядре WordPress

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