Inline docs for _get_last_post_time helper.

git-svn-id: https://develop.svn.wordpress.org/trunk@15841 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-10-19 07:35:12 +00:00
parent 8a4fe8b2a0
commit 44bf886cb9
1 changed files with 10 additions and 0 deletions

View File

@ -3977,6 +3977,16 @@ function get_lastpostmodified($timezone = 'server') {
return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
}
/**
* Retrieve latest post date data based on timezone.
*
* @access private
* @since 3.1.0
*
* @param string $timezone The location to get the time. Can be 'gmt', 'blog', or 'server'.
* @param string $field Field to check. Can be 'date' or 'modified'.
* @return string The date.
*/
function _get_last_post_time( $timezone, $field ) {
global $wpdb, $blog_id;