Changeset 53486
- Timestamp:
- 06/10/2022 06:21:28 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/author-template.php
r53189 r53486 477 477 478 478 if ( $args['show_fullname'] && $author->first_name && $author->last_name ) { 479 $name = "$author->first_name $author->last_name"; 479 480 $full_name = $author->first_name . ' ' . $author->last_name; 481 482 /** 483 * Filters the author's full name. 484 * 485 * @since 6.1.0 486 * 487 * @param string $full_name Full Name of the author. Default: The author's first name 488 * and last name, separated by a space. 489 * @param object $author Author object. 490 */ 491 $name = apply_filters( 'wp_list_author_full_name', $full_name, $author ); 492 480 493 } else { 481 494 $name = $author->display_name;
Note: See TracChangeset
for help on using the changeset viewer.