A WordPress-centric search engine for devs and theme authors



get_lastpostdate ›

Since2.3.0
Deprecatedn/a
apply_filters( 'get_lastpostdate', _get_last_post_time( $timezone, 'date', $post_type )
Parameters: (2)
  • (string) $date Date the last post was published.
    Required: Yes
  • (string) $timezone Location to use for getting the post published date. See get_lastpostdate() for accepted `$timezone` values.
    Required: Yes
Defined at:
Codex:

Filters the date the last post was published.





Source

return apply_filters( 'get_lastpostdate', _get_last_post_time( $timezone, 'date', $post_type ), $timezone );