_get_last_post_time
- %1$s is private and should not be used in themes or plugins directly.
_get_last_post_time ( $timezone, $field, $post_type = 'any' )
Access: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 in 'Y-m-d H:i:s' format, or false on failure.
Defined at:Change Log: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Gets the timestamp of the last time any post was modified or published.