Changeset 10490 for trunk/wp-includes/functions.php
- Timestamp:
- 02/03/2009 11:04:31 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r10408 r10490 47 47 * The 'timestamp' type will return the current timestamp. 48 48 * 49 * If the $gmt is set to either '1' or 'true', then both types will use the50 * GMT offset in the WordPress option to add the GMT offset to the time.49 * If $gmt is set to either '1' or 'true', then both types will use GMT time. 50 * if $gmt is false, the output is adjusted with the GMT offset in the WordPress option. 51 51 * 52 52 * @since 1.0.0 53 53 * 54 54 * @param string $type Either 'mysql' or 'timestamp'. 55 * @param int|bool $gmt Optional. Whether to use $gmt offset. Default is false.55 * @param int|bool $gmt Optional. Whether to use GMT timezone. Default is false. 56 56 * @return int|string String if $type is 'gmt', int if $type is 'timestamp'. 57 57 */
Note: See TracChangeset
for help on using the changeset viewer.