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



_get_last_post_time › WordPress Function

Since3.1.0
Deprecatedn/a
_get_last_post_time ( $timezone, $field, $post_type = 'any' )
Access:
  • private
Parameters: (3)
  • (string) $timezone The timezone for the timestamp. See get_lastpostdate(). for information on accepted values.
    Required: Yes
  • (string) $field Post field to check. Accepts 'date' or 'modified'.
    Required: Yes
  • (string) $post_type Optional. The post type to check. Default 'any'.
    Required: No
    Default: 'any'
Returns:
  • (string|false) The timestamp in 'Y-m-d H:i:s' format, or false on failure.
Defined at:
Codex:
Change Log:
  • 4.4.0

Gets the timestamp of the last time any post was modified or published.



Source

Soon...