Changeset 34240
- Timestamp:
- 09/16/2015 03:28:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-functions.php
r34215 r34240 5233 5233 * @since 4.4.0 The `$post_type` argument was added. 5234 5234 * 5235 * @param string $timezone Optional. The location to get the time. Accepts 'gmt', 'blog', 5236 * or 'server'. Default 'server'. 5235 * @param string $timezone Optional. The timezone for the timestamp. Accepts 'server', 'blog', or 'gmt'. 5236 * 'server' uses the server's internal timezone. 5237 * 'blog' uses the `post_modified` field, which proxies to the timezone set for the site. 5238 * 'gmt' uses the `post_modified_gmt` field. 5239 * Default 'server'. 5237 5240 * @param string $post_type Optional. The post type to check. Default 'any'. 5238 5241 * @return string The date of the last post. … … 5244 5247 * @since 2.3.0 5245 5248 * 5246 * @param string $date Date the last post was published. Likely values are 'gmt', 5247 * 'blog', or 'server'. 5249 * @param string $date Date the last post was published. 5248 5250 * @param string $timezone Location to use for getting the post published date. 5251 * See {@see get_lastpostdate()} for accepted `$timezone` values. 5249 5252 */ 5250 5253 return apply_filters( 'get_lastpostdate', _get_last_post_time( $timezone, 'date', $post_type ), $timezone ); … … 5261 5264 * @since 4.4.0 The `$post_type` argument was added. 5262 5265 * 5263 * @param string $timezone Optional. The timezone for the timestamp. Uses the server's internal timezone. 5264 * Accepts 'server', 'blog', 'gmt'. or 'server'. 'server' uses the server's 5265 * internal timezone. 'blog' uses the `post_modified` field, which proxies 5266 * to the timezone set for the site. 'gmt' uses the `post_modified_gmt` field. 5266 * @param string $timezone Optional. The timezone for the timestamp. See {@see get_lastpostdate()} 5267 * for information on accepted values. 5267 5268 * Default 'server'. 5268 5269 * @param string $post_type Optional. The post type to check. Default 'any'. … … 5284 5285 * @param string $lastpostmodified Date the last post was modified. 5285 5286 * @param string $timezone Location to use for getting the post modified date. 5286 * See {@see get_lastpost modified()} for accepted `$timezone` values.5287 * See {@see get_lastpostdate()} for accepted `$timezone` values. 5287 5288 */ 5288 5289 return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone ); … … 5298 5299 * @global wpdb $wpdb 5299 5300 * 5300 * @param string $timezone The timezone for the timestamp. See {@see get_lastpost modified()}5301 * @param string $timezone The timezone for the timestamp. See {@see get_lastpostdate()} 5301 5302 * for information on accepted values. 5302 5303 * @param string $field Post field to check. Accepts 'date' or 'modified'.
Note: See TracChangeset
for help on using the changeset viewer.