Changeset 53715 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 07/18/2022 05:35:51 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/general-template.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r53703 r53715 2681 2681 * was written. Accepts 'G', 'U', or PHP date format. 2682 2682 * Defaults to the 'time_format' option. 2683 * @param int|WP_Post $post WP_Post object or ID. Default is global `$post` object.2683 * @param int|WP_Post $post Post ID or post object. Default is global `$post` object. 2684 2684 * @return string|int|false Formatted date string or Unix timestamp if `$format` is 'U' or 'G'. 2685 2685 * False on failure. … … 2717 2717 * was written. Accepts 'G', 'U', or PHP date format. Default 'U'. 2718 2718 * @param bool $gmt Optional. Whether to retrieve the GMT time. Default false. 2719 * @param int|WP_Post $post WP_Post object or ID. Default is global `$post` object.2719 * @param int|WP_Post $post Post ID or post object. Default is global `$post` object. 2720 2720 * @param bool $translate Whether to translate the time string. Default false. 2721 2721 * @return string|int|false Formatted date string or Unix timestamp if `$format` is 'U' or 'G'. … … 2778 2778 * @since 5.3.0 2779 2779 * 2780 * @param int|WP_Post $post Optional. WP_Post object or ID. Default is global `$post` object.2780 * @param int|WP_Post $post Optional. Post ID or post object. Default is global `$post` object. 2781 2781 * @param string $field Optional. Published or modified time to use from database. Accepts 'date' or 'modified'. 2782 2782 * Default 'date'. … … 2823 2823 * @since 5.3.0 2824 2824 * 2825 * @param int|WP_Post $post Optional. WP_Post object or ID. Default is global `$post` object.2825 * @param int|WP_Post $post Optional. Post ID or post object. Default is global `$post` object. 2826 2826 * @param string $field Optional. Published or modified time to use from database. Accepts 'date' or 'modified'. 2827 2827 * Default 'date'. … … 2906 2906 * was modified. Accepts 'G', 'U', or PHP date format. Default 'U'. 2907 2907 * @param bool $gmt Optional. Whether to retrieve the GMT time. Default false. 2908 * @param int|WP_Post $post WP_Post object or ID. Default is global `$post` object.2908 * @param int|WP_Post $post Post ID or post object. Default is global `$post` object. 2909 2909 * @param bool $translate Whether to translate the time string. Default false. 2910 2910 * @return string|int|false Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)