Inline docs for _get_last_post_time helper.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-19 07:35:12 +00:00
parent a4946ed793
commit 7c39422697
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;