Filters the most recent time that a post on the site was modified.
$lastpostmodifiedstring|false$timezonestring$post_typestringwp-includes/post.php:7470get_lastpostmodified() * @param string|false $lastpostmodified The most recent time that a post was modified, * in 'Y-m-d H:i:s' format. False on failure. * @param string $timezone Location to use for getting the post modified date. * See get_lastpostdate() for accepted `$timezone` values. * @param string $post_type The post type to check. */ return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone, $post_type );} /** * Gets the timestamp of the last time any post was modified or published. * * @since 3.1.0Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.