Used By
Used By | Description |
---|---|
wp-includes/post.php: get_lastpostdate() | Retrieves the most recent time that a post on the site was published. |
Filters the most recent time that a post on the site was published.
(string|false) The most recent time that a post was published, in 'Y-m-d H:i:s' format. False on failure.
(string) Location to use for getting the post published date. See get_lastpostdate() for accepted $timezone
values.
(string) The post type to check.
File: wp-includes/post.php
Version | Description |
---|---|
5.5.0 | Added the $post_type parameter. |
2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_lastpostdate