Filters the most recent time that a post on the site was published.
$lastpostdatestring|false
$timezonestring
$timezone values.'server', 'blog', or 'gmt'.'server' uses the server’s internal timezone.'blog' uses the post_date field, which proxies to the timezone set for the site.'gmt' uses the post_date_gmt field.'server'.$post_typestring
return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone, $post_type );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_lastpostdate