_get_last_post_time


_get_last_post_time ( $timezone, $field, $post_type = 'any' )

Access:
  • private
Parameters:
  • (string) $timezone The timezone for the timestamp. See get_lastpostdate(). for information on accepted values.
  • (string) $field Post field to check. Accepts 'date' or 'modified'.
  • (string) $post_type Optional. The post type to check. Default 'any'.
Returns:
  • (string|false) The timestamp.
Defined at:
Change Log:
  • 4: .

Description

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

Related Functions

get_post_time, get_lastpostdate, get_lastpostmodified, get_last_updated, get_post_meta

Top Google Results

User discussions

wpseek mobile