floated_admin_avatar( string $name )
Adds avatars to relevant places in admin.
Parameters
- $name
-
(string) (Required) User name.
Return
(string) Avatar with the user name.
Source
File: wp-admin/includes/comment.php
function floated_admin_avatar( $name ) { $avatar = get_avatar( get_comment(), 32, 'mystery' ); return "$avatar $name"; }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |