floated_admin_avatar()
Adds avatars to relevant places in admin.
No Hooks.
Return
String
. Avatar with the user name.
Usage
floated_admin_avatar( $name );
- $name(string) (required)
- User name.
Changelog
Since 2.5.0 | Introduced. |
floated_admin_avatar() floated admin avatar code WP 6.6.2
function floated_admin_avatar( $name ) { $avatar = get_avatar( get_comment(), 32, 'mystery' ); return "$avatar $name"; }