pre_get_lastpostmodified
最后更新于:2021-11-27 18:48:32
apply_filters( ‘pre_get_lastpostmodified’, string|false $lastpostmodified, string $timezone, string $post_type )
Pre-filter the return value of get_lastpostmodified() before the query is run.
参数
- $lastpostmodified
-
(string|false)
The most recent time that a post was modified, in ‘Y-m-d H:i:s’ format, or false. 响应ing anything other than false will short-circuit the function. - $timezone
-
(string)
Location to use for getting the post modified date. See get_lastpostdate() for accepted$timezone
values. - $post_type
-
(string)
The post type to check.
源文件
文件: gc-includes/post.php