mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 02:49:04 +01:00
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:
parent
a4946ed793
commit
7c39422697
@ -3977,6 +3977,16 @@ function get_lastpostmodified($timezone = 'server') {
|
|||||||
return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
|
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 ) {
|
function _get_last_post_time( $timezone, $field ) {
|
||||||
global $wpdb, $blog_id;
|
global $wpdb, $blog_id;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user