Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters | 7215 | /** * Filters the most recent time that a post on the site was published. * * @since 2.3.0 * @since 5.5.0 Added the `$post_type` parameter. * * @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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string|false | $lastpostdate | The most recent time that a post was published, |
string | $timezone | Location to use for getting the post published date. |
string | $post_type | The post type to check. |