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:
parent
8a4fe8b2a0
commit
44bf886cb9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user