Filters the most recent time that a post on the site was published.
$lastpostdatestring|false$timezonestring$post_typestringwp-includes/post.php:7779get_lastpostdate() * @param string|false $lastpostdate The most recent time that a post was published, * in 'Y-m-d H:i:s' format. False on failure. * @param string $timezone Location to use for getting the post published date. * See get_lastpostdate() for accepted `$timezone` values. * @param string $post_type The post type to check. */ return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone, $post_type );} /** * Gets the most recent time that a post on the site was modified. * * The server timezone is the default and is the difference between GMT andIntroduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.