- Timestamp:
- 04/20/2022 02:22:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/functions.php
r52929 r53236 563 563 * @since Twenty Thirteen 1.0 564 564 * 565 * @param bool $ echo (optional) Whether to echothe date. Default true.565 * @param bool $display (optional) Whether to display the date. Default true. 566 566 * @return string The HTML-formatted post date. 567 567 */ 568 function twentythirteen_entry_date( $ echo= true ) {568 function twentythirteen_entry_date( $display = true ) { 569 569 if ( has_post_format( array( 'chat', 'status' ) ) ) { 570 570 /* translators: 1: Post format name, 2: Date. */ … … 583 583 ); 584 584 585 if ( $ echo) {585 if ( $display ) { 586 586 echo $date; 587 587 }
Note: See TracChangeset
for help on using the changeset viewer.