Changeset 49597 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 11/14/2020 04:33:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r49355 r49597 2586 2586 * @param string $format Optional. PHP date format. Defaults to the 'date_format' option. 2587 2587 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default current post. 2588 * @return string| false Date the current post was modified. False on failure.2588 * @return string|int|false Date the current post was modified. False on failure. 2589 2589 */ 2590 2590 function get_the_modified_date( $format = '', $post = null ) { … … 2606 2606 * @since 4.6.0 Added the `$post` parameter. 2607 2607 * 2608 * @param string| false $the_time The formatted date or false if no post is found.2609 * @param string $format PHP date format.2610 * @param WP_Post|null $post WP_Post object or null if no post is found.2608 * @param string|int|false $the_time The formatted date or false if no post is found. 2609 * @param string $format PHP date format. 2610 * @param WP_Post|null $post WP_Post object or null if no post is found. 2611 2611 */ 2612 2612 return apply_filters( 'get_the_modified_date', $the_time, $format, $post ); … … 2832 2832 * Defaults to the 'time_format' option. 2833 2833 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default current post. 2834 * @return string| false Formatted date string or Unix timestamp. False on failure.2834 * @return string|int|false Formatted date string or Unix timestamp. False on failure. 2835 2835 */ 2836 2836 function get_the_modified_time( $format = '', $post = null ) { … … 2852 2852 * @since 4.6.0 Added the `$post` parameter. 2853 2853 * 2854 * @param string| false $the_time The formatted time or false if no post is found.2855 * @param string $format Format to use for retrieving the time the post2856 * was modified. Accepts 'G', 'U', or PHP date format.2857 * @param WP_Post|null $post WP_Post object or null if no post is found.2854 * @param string|int|false $the_time The formatted time or false if no post is found. 2855 * @param string $format Format to use for retrieving the time the post 2856 * was modified. Accepts 'G', 'U', or PHP date format. 2857 * @param WP_Post|null $post WP_Post object or null if no post is found. 2858 2858 */ 2859 2859 return apply_filters( 'get_the_modified_time', $the_time, $format, $post ); … … 2909 2909 * @since 2.8.0 2910 2910 * 2911 * @param string $time The formatted time.2912 * @param string $format Format to use for retrieving the time the post was modified.2913 * Accepts 'G', 'U', or PHP date format. Default 'U'.2914 * @param bool $gmt Whether to retrieve the GMT time. Default false.2911 * @param string|int $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'. 2912 * @param string $format Format to use for retrieving the time the post was modified. 2913 * Accepts 'G', 'U', or PHP date format. Default 'U'. 2914 * @param bool $gmt Whether to retrieve the GMT time. Default false. 2915 2915 */ 2916 2916 return apply_filters( 'get_post_modified_time', $time, $format, $gmt );
Note: See TracChangeset
for help on using the changeset viewer.