get_lastpostdate – filter
Filters the most recent time that a post on the site was published.
Parameters
- .
- ( 2.3.0 ) . .
- Added
- ( 5.5.0 ) the `$post_type` parameter. . . .
- $lastpostdate
- ( string|false ) The most recent time that a post was published, in ‘Y-m-d H:i:s’ format. False on failure. . . .
- ( string ) $timezone Location to use for getting the post published date. See get_lastpostdate() for accepted `$timezone` values. . . .
- ( string ) $post_type The post type to check. . . .