get_lastpostmodified

最后更新于:2021-11-26 22:39:15

apply_filters( ‘get_lastpostmodified’, string|false $lastpostmodified, string $timezone, string $post_type )

Filters the most recent time that a post on the site was modified.

参数

$lastpostmodified

(string|false)
The most recent time that a post was modified, in ‘Y-m-d H:i:s’ format. False on failure.

$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

View on Trac