Changeset 37265
- Timestamp:
- 04/20/2016 03:54:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r37135 r37265 2304 2304 * to the value specified in the time_format option. Default empty. 2305 2305 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2306 * @return false|string Formatted date string or Unix timestamp. False on failure.2306 * @return string|int|false Formatted date string or Unix timestamp if `$id` is 'U' or 'G'. False on failure. 2307 2307 */ 2308 2308 function get_the_time( $d = '', $post = null ) { … … 2342 2342 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2343 2343 * @param bool $translate Whether to translate the time string. Default false. 2344 * @return false|string|int Formatted date string or Unix timestamp. False on failure.2344 * @return string|int|false Formatted date string or Unix timestamp if `$id` is 'U' or 'G'. False on failure. 2345 2345 */ 2346 2346 function get_post_time( $d = 'U', $gmt = false, $post = null, $translate = false ) { … … 2429 2429 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2430 2430 * @param bool $translate Whether to translate the time string. Default false. 2431 * @return false|string Formatted date string or Unix timestamp. False on failure.2431 * @return string|int|false Formatted date string or Unix timestamp if `$id` is 'U' or 'G'. False on failure. 2432 2432 */ 2433 2433 function get_post_modified_time( $d = 'U', $gmt = false, $post = null, $translate = false ) {
Note: See TracChangeset
for help on using the changeset viewer.