floated_admin_avatar( string $name )
Add avatars to relevant places in admin, or try to.
Parameters
- $name
-
(Required) User name.
Return
(string) Avatar with Admin name.
Source
File: wp-admin/includes/comment.php
function floated_admin_avatar( $name ) {
$avatar = get_avatar( get_comment(), 32, 'mystery' );
return "$avatar $name";
}
Changelog
Version | Description |
---|---|
WP-2.5.0 | Introduced. |