wpseek.com
A WordPress-centric search engine for devs and theme authors



get_lastpostmodified › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone, $post_type )
Parameters: (3)
  • () lastpostmodified The most recent time that a post was modified, in 'Y-m-d H:i:s' format. False on failure.
    Required: Yes
  • () timezone Location to use for getting the post modified date. See get_lastpostdate() for accepted `$timezone` values.
    Required: Yes
  • () post_type The post type to check.
    Required: Yes
Defined at:
Codex:

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





Source

return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone, $post_type );