Changeset 59829
- Timestamp:
- 02/17/2025 01:11:05 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r59774 r59829 2526 2526 * function is called several times for each post. 2527 2527 * 2528 * HTML output can be filtered with 'the_date'.2529 * Date string output can be filtered with 'get_the_date'.2528 * HTML output can be filtered with {@see 'the_date'}. 2529 * Date string output can be filtered with {@see 'get_the_date'}. 2530 2530 * 2531 2531 * @since 0.71 … … 2597 2597 * @since 3.0.0 2598 2598 * 2599 * @param string|int 2600 * @param string 2601 * @param WP_Post 2599 * @param string|int $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'. 2600 * @param string $format PHP date format. 2601 * @param WP_Post $post The post object. 2602 2602 */ 2603 2603 return apply_filters( 'get_the_date', $the_date, $format, $post ); … … 2722 2722 * @since 1.5.0 2723 2723 * 2724 * @param string|int 2725 * @param string 2726 * 2727 * @param WP_Post 2724 * @param string|int $the_time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'. 2725 * @param string $format Format to use for retrieving the time the post 2726 * was written. Accepts 'G', 'U', or PHP date format. 2727 * @param WP_Post $post Post object. 2728 2728 */ 2729 2729 return apply_filters( 'get_the_time', $the_time, $format, $post );
Note: See TracChangeset
for help on using the changeset viewer.